예제 #1
0
        public void Test_Validate_True()
        {
            MockValidEntity entity = new MockValidEntity();

            bool isValid = ValidateStrategy.New(entity).Validate(entity);

            Assert.IsTrue(isValid, "Returned false when it should have been true");
        }
        public void Test_Validate_True()
        {
            MockValidEntity entity = new MockValidEntity();

            bool isValid = ValidateStrategy.New(entity).Validate(entity);

            Assert.IsTrue(isValid, "Returned false when it should have been true");
        }