public void IsSatisfiedBy_ShouldBeFalseForUnmatchingParameter() { ChefDownloadOptionSpecification .IsSatisfiedBy(OptionGroupTest.ToCommandArguments("chef", "download", "something")) .Should() .BeFalse(); }
public void IsSatisfied_ShouldBeFalseWhenParametersDoNotMatch() { ChefRunOptionSpecification.IsSatisfiedBy(OptionGroupTest.ToCommandArguments("chef", "version")) .Should() .BeFalse("because parameters don't match"); }
public void IsSatisfiedBy_ShouldBeSatisfiedByExactArguments() { ChefRunOptionSpecification.IsSatisfiedBy(OptionGroupTest.ToCommandArguments("chef", "run")) .Should() .BeTrue("because the arguments match exactly"); }