public void GetAll() { IEnumerable <API.Student> students = new StudentHandler().Get(0, 10); Assert.IsNotNull(students); Assert.AreEqual(StudentDataInitializer.TestStudents.Count, students.Count()); }
public void GetAll_Take2() { int take = 2; IEnumerable <API.Student> students = new StudentHandler().Get(0, take); Assert.IsNotNull(students); Assert.AreEqual(take, students.Count()); }