public void GetBikeModels_Calls_GetAll_In_Repo() { bikeColorService.GetBikeColors(); mockRepo.Verify(r => r.GetAll(), Times.Once); }
public IActionResult GetBikeColors() { return(Ok(_mapper.Map <IEnumerable <BikeColorResource> >(_bikeColorService.GetBikeColors()))); }