public void UserAccessor_Delete() { //Arrange: The User to be deleted is put into the database User temp = new User { Email = "*****@*****.**", Password = "******" }; User removable = userAccessor.Insert(temp); //Act: Calls the UserAccessor Delete() method to delete the User from the database var result = userAccessor.Delete(removable.Id); //Assert: Checks that the correct account was returned Assert.AreEqual("*****@*****.**", result.Email, "The incorrect user was deleted."); Assert.AreEqual("asdfghjkl", result.Password, "The incorrect user was deleted."); }