function testUpdatePatron() { $name = "Kyle Pratuch"; $email = "*****@*****.**"; $test_patron = new Patron($name, $email); $test_patron->save(); $name2 = "Jason Bethel"; $email2 = "*****@*****.**"; //Act $test_patron->updatePatron($name2, $email2); $result = Patron::getAll(); //Assert $this->assertEquals($test_patron, $result[0]); }