function test_updateClientName() { //arrange $stylist_name = "Lisa"; $id = null; $test_stylist = new Stylist($stylist_name, $id); $test_stylist->save(); $client_name = "Alfred"; $stylist_id = $test_stylist->getId(); $test_client = new Client($client_name, $id, $stylist_id); $new_client_name = "Steven"; //act $test_client->updateClientName($new_client_name); //assert $this->assertEquals("Steven", $test_client->getClientName()); }