public void ShouldValidateFailure(string category) { var attr = new KeyRuleAttribute(); Assert.IsFalse(attr.IsValid(category)); }
public void ShouldValidateSuccess(string category) { var attr = new KeyRuleAttribute(); Assert.IsTrue(attr.IsValid(category)); }