public void TestFindStaffOnSearch()
        {
            // Arrange
            AdminController adminController = new AdminController();
            List<Staff> expectedStaff = new List<Staff>();
            expectedStaff.Add(new Staff());
            expectedStaff[0].StaffID = 1;
            expectedStaff[0].FirstName = "test";
            expectedStaff[0].LastName = "test";
            expectedStaff[0].DateOfBirth = new DateTime(2013, 2, 5);
            expectedStaff[0].Gender = PersonGender.Male;
            expectedStaff[0].TelephoneNumber = "00000000000";
            expectedStaff[0].EmailAddress = "test";
            expectedStaff[0].AddressLine1 = "test";
            expectedStaff[0].AddressLine2 = "test";
            expectedStaff[0].City = "test";
            expectedStaff[0].County = "test";
            expectedStaff[0].PostCode = "test";
            expectedStaff[0].MaritalStatus = "single";
            expectedStaff[0].Permissions = PermissionsFlag.Doctor;

            // Act
            List<Staff> actualStaff = adminController.GetStaffDetails("1", "test", "test");

            // Assert
            CollectionAssert.AreEqual(expectedStaff, actualStaff);
        }
        public void TestFindStaffOnID()
        {
            // Arrange
            AdminController adminController = new AdminController();

            Staff expectedStaff = new Staff();
            expectedStaff.StaffID = 1;
            expectedStaff.FirstName = "test";
            expectedStaff.LastName = "test";
            expectedStaff.DateOfBirth = new DateTime(2013, 2, 5);
            expectedStaff.Gender = PersonGender.Male;
            expectedStaff.TelephoneNumber = "00000000000";
            expectedStaff.EmailAddress = "test";
            expectedStaff.AddressLine1 = "test";
            expectedStaff.AddressLine2 = "test";
            expectedStaff.City = "test";
            expectedStaff.County = "test";
            expectedStaff.PostCode = "test";
            expectedStaff.MaritalStatus = "single";
            expectedStaff.Permissions = PermissionsFlag.Doctor;

            // Act
            Staff actualStaff = adminController.GetStaffDetails(1);

            // Assert
            Assert.AreEqual(expectedStaff, actualStaff);
        }