Пример #1
0
 public void EditBikeColor_Calls_UpdateColor_In_Service()
 {
     mockMapper.Setup(m => m.Map <BikeColorDto>(It.IsAny <EditBikeColorRequest>())).Returns(new BikeColorDto());
     colorController.EditBikeColor(new EditBikeColorRequest());
     mockService.Verify(s => s.UpdateColor(It.IsAny <BikeColorDto>()), Times.Once);
 }