public void EditRequestorTest() { Requestor temp = NewRequestor(); InsertRequestorIntoDatabase(temp); //Make sure the insertion worked smoothly. Assert.IsTrue(temp.Equals(SelectRequestorById(temp.RequestorId)), "The created queue and selected queue do not match. Insertion or selection might have failed"); //Change the values... temp.FirstName = "Nathan 2"; temp.LastName = "Blevins 2"; temp.ContactNumber = "423-432-4524"; temp.Email = "*****@*****.**"; //Peform the update. HelpdeskService.EditRequestor(temp); //Create a new instance of the module object and compare them... Requestor temp2 = SelectRequestorById(temp.RequestorId); //Make sure they match. Assert.IsTrue(temp.Equals(temp2), "The updated queue did not match equality with the prepared module values in the method."); }