public void PlaneTypeUpdate() { PlaneTypeService planeTypeService = new PlaneTypeService(unitOfWork); PlaneTypeDTO planeTypeDTO = new PlaneTypeDTO() { Model = "test", CarryCapacity = 12, Places = 15 }; planeTypeService.UpdatePlaneType(1, planeTypeDTO); PlaneType planeType = fakePlaneTypeRepository.Get(1); Assert.AreEqual(planeType.Model, planeTypeDTO.Model); Assert.AreEqual(planeType.CarryCapacity, planeTypeDTO.CarryCapacity); Assert.AreEqual(planeType.Places, planeTypeDTO.Places); }