예제 #1
0
        public void ShouldValidate(bool?input, OptimizationModes expected)
        {
            var target = new DisableBailInput {
                SuppliedInput = input
            };

            var result = target.Validate();

            result.ShouldBe(expected);
        }
예제 #2
0
        public void ShouldHaveHelpText()
        {
            var target = new DisableBailInput();

            target.HelpText.ShouldBe(@"Disable abort unit testrun as soon as the first unit test fails. | default: 'False'");
        }