Example #1
0
        public async Task FinishProduction_Success()
        {
            //Act
            var action = await productionController.FinishProduction(It.IsAny <int>()) as RedirectToActionResult;

            //Assert
            productionService.Verify(x => x.FinishProduction(It.IsAny <int>()), Times.Once);
        }