Example #1
0
        public void GetBikeColor_Calls_GetColorById_In_Service()
        {
            var testId = 1;

            colorController.GetBikeColor(testId);
            mockService.Verify(s => s.GetColorById(It.IsAny <int>()), Times.Once);
        }