Exemplo n.º 1
0
        public void ValidateAllPropertiesTest()
        {
            ITeacher teacher = new ITeacher
            {
                Surname  = "Joe",
                Forename = "Bloggs",
                DOB      = DateTime.Today,
                Phone    = "083 4567823",
                Type     = ' ',
                Salary   = 13500,
                Subjects = "Geography"
            };

            teacher.ValidateAllProperties();
        }