public void TextTest(String id, String name, String surname, String DateOfBirth, String testEntry)
        {
            student.StudentId   = Int32.Parse(id);
            student.Name        = name;
            student.Surname     = surname;
            student.DateOfBirth = DateTime.Parse(DateOfBirth).Date;

            readStudent      = iStudent.Add(student, Common.Models.EnumTypeFactory.TXT);
            readLineFromFile = utils.ReadFromTxt();
            Assert.AreEqual(readLineFromFile, testEntry);
        }
Beispiel #2
0
 public int Add(StudentModel t)
 {
     return(ist.Add(t));
 }