Example #1
0
        public void EmployeeDAO_FindAllDoctors_ReturnsAllDoctors()
        {
            List <Employee> doctors = dao.FindEmployeesByRole(Role.Doctor);

            Assert.AreEqual(4, doctors.Count);
            Assert.AreEqual("*****@*****.**", doctors[0].Username);
            Assert.AreEqual("*****@*****.**", doctors[1].Username);
            Assert.AreEqual("*****@*****.**", doctors[2].Username);
            Assert.AreEqual("*****@*****.**", doctors[3].Username);
        }