예제 #1
0
        public void GetAll()
        {
            IEnumerable <API.Student> students = new StudentHandler().Get(0, 10);

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

            Assert.IsNotNull(students);
            Assert.AreEqual(take, students.Count());
        }