public void AddTest() { var student = new Student(); StudentDao.Add(student); Assert.Fail(); }
public void Add(string Name, string Surname, DateTime DateofBirth, string typo) { Student student = new Student(); student.Name = Name; student.Surname = Surname; student.DateofBirth = DateofBirth.ToString(); StudentDao studenCreator = FactoryProvider.GetFactory(typo).Creator(typo); studenCreator.Add(student); }