public void CreateFailTest()
        {
            var babyDiaperRetentionService = MockHelperLaborControllerService.GetBabyDiaperRetentionService(new BabyDiaperRetentionEditViewModel());
            var controller = new BabyDiaperRetentionController(new NLogLoggerFactory())
            {
                BabyDiaperRetentionService = babyDiaperRetentionService
            };
            var result = controller.Create();

            Assert.IsType(typeof(HttpNotFoundResult), result);
        }
        public void CreateReturnsCorrectViewTest()
        {
            var viewModel = new BabyDiaperRetentionEditViewModel
            {
                TestValueId = -1,
                TestSheetId = 5
            };
            var babyDiaperRetentionService = MockHelperLaborControllerService.GetBabyDiaperRetentionService(viewModel);
            var controller = new BabyDiaperRetentionController(new NLogLoggerFactory())
            {
                BabyDiaperRetentionService = babyDiaperRetentionService
            };
            var result = controller.Create(5) as ViewResult;

            Assert.Equal("Edit", result?.ViewName);
        }