Exemple #1
0
        public void ShouldBeAnInvalidFile(string fileKey)
        {
            var attr = new FileKeyRuleAttribute();

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

            Assert.IsFalse(attr.IsValid(fileKey));
        }