public static void TestThrowIfNoOverrideIsValid02()
        {
            var attribute = new ValidationAttributeNoOverrides();

            Assert.Throws <NotImplementedException>(
                () => attribute.Validate("Object to validate does not matter - no override of IsValid", s_testValidationContext));
        }
 public static void TestThrowIfNoOverrideIsValid01()
 {
     var attribute = new ValidationAttributeNoOverrides();
     Assert.Throws<NotImplementedException>(
         () => attribute.Validate(
             "Object to validate does not matter - no override of IsValid",
             "Name to put in error message does not matter either"));
 }
        public static void TestThrowIfNoOverrideIsValid01()
        {
            var attribute = new ValidationAttributeNoOverrides();

            Assert.Throws <NotImplementedException>(
                () => attribute.Validate(
                    "Object to validate does not matter - no override of IsValid",
                    "Name to put in error message does not matter either"));
        }
 public static void TestThrowIfNoOverrideIsValid02()
 {
     var attribute = new ValidationAttributeNoOverrides();
     Assert.Throws<NotImplementedException>(
         () => attribute.Validate("Object to validate does not matter - no override of IsValid", s_testValidationContext));
 }