function testDeletePatron() { $name = "Hulk Hogan"; $id = 1; $test_patron = new Patron($name, $id); $test_patron->save(); $name2 = "Kool-aid Man and Randal Savage"; $id2 = 2; $test_patron2 = new Patron($name2, $id2); $test_patron2->save(); $test_patron->deletePatron(); $this->assertEquals([$test_patron2], Patron::getAll()); }