Beispiel #1
0
        public void ValidtionTest_WrongDependentPropertyType()
        {
            WrongPerson person = new WrongPerson();

            person.IsCouple = "Something";
            person.Validate();
        }
Beispiel #2
0
            public void ValidationTest_DependentPropertyNotExist()
            {
                WrongPerson person = new WrongPerson()
                {
                    IsCouple = true
                };

                person.Validate();
            }
Beispiel #3
0
 public void ValidtionTest_WrongDependentPropertyType()
 {
     WrongPerson person = new WrongPerson();
     person.IsCouple = "Something";
     person.Validate();
 }