public void ShouldBeAnInvalidFile(string fileKey) { var attr = new FileKeyRuleAttribute(); Assert.IsFalse(attr.IsValid(fileKey)); }
public void ShouldBeAnInValidFileKey(string fileKey, bool required) { var attr = new FileKeyRuleAttribute(required); Assert.IsFalse(attr.IsValid(fileKey)); }