Exemple #1
0
        public void GivenInvalidValue_WhenConstruct_ThenPropertyMatches()
        {
            string expected = "property should match this value";

            DoesNotEqualAttribute target = new DoesNotEqualAttribute(expected);

            Assert.AreEqual(expected, target.InvalidValue);
        }
        public void GivenInvalidValue_WhenConstruct_ThenPropertyMatches()
        {
            string expected = "property should match this value";

            DoesNotEqualAttribute target = new DoesNotEqualAttribute(expected);

            Assert.AreEqual(expected, target.InvalidValue);
        }
 public void InitializeTest()
 {
     Target = new DoesNotEqualAttribute(TestInvalidValue);
 }
Exemple #4
0
 public void InitializeTest()
 {
     Target = new DoesNotEqualAttribute(TestInvalidValue);
 }