public void ShouldProvideDefaultFalseWhenNull() { var target = new WithBaselineInput { SuppliedInput = null }; var result = target.Validate(); result.ShouldBeFalse(); }
public void ShouldNotBeEnabledWhenFalse() { var target = new WithBaselineInput { SuppliedInput = false }; var result = target.Validate(); result.ShouldBeFalse(); }
public void ShouldBeEnabledWhenTrue() { var target = new WithBaselineInput { SuppliedInput = true }; var result = target.Validate(); result.ShouldBeTrue(); }
public void ShouldHaveHelpText() { var target = new WithBaselineInput(); target.HelpText.ShouldBe(@"EXPERIMENTAL: Use results stored in stryker dashboard to only test new mutants. | default: 'False'"); }