public void TestAddMemberAsObject()
        {
            //input data - assign properties for test
            Lecturer testLecturerObjectProduction = new Lecturer("1010101h", "Jarjar", "Binks", "15 Jungen Drive", "Ballyfermot", "Dublin", "D22", "083 3423422", "*****@*****.**",
                                                                 1044, 50000, true, "Science, Computing");
            //run methods to convert to object
            Lecturer testObject = testLecturerObjectProduction.AddMemberAsObject();

            //comparision data
            Lecturer expectedObjectResults = new Lecturer();

            expectedObjectResults.PPSNumber    = "1010101h";
            expectedObjectResults.FirstName    = "Jarjar";
            expectedObjectResults.LastName     = "Binks";
            expectedObjectResults.AddressLine1 = "15 Jungen Drive";
            expectedObjectResults.AddressLine2 = "Ballyfermot";
            expectedObjectResults.City         = "Dublin";
            expectedObjectResults.PostCode     = "D22";

            expectedObjectResults.ContactNumber  = "083 3423422";
            expectedObjectResults.Email          = "*****@*****.**";
            expectedObjectResults.StaffID        = 1044;
            expectedObjectResults.Salary         = 50000;
            expectedObjectResults.IsLecturer     = true;
            expectedObjectResults.SubjectsTaught = "Science, Computing";
            //Assert true to been equal
            Assert.IsTrue(testObject == expectedObjectResults);
        }
        public void TestUpdateMasterMemberList()
        {
            Lecturer lecturerClass = new Lecturer();

            lecturerClass.AddMemberAsObject();
            lecturerClass.UpdateMasterMemberList();
        }
        public void TestRetrieveSearchMemberList()
        {
            Lecturer lecturerClass = new Lecturer();

            lecturerClass.AddMemberAsObject();
            lecturerClass.UpdateMasterMemberList();
            lecturerClass.SaveMemberList();
            lecturerClass.RetrieveSearchMemberList();
        }