Beispiel #1
0
 function test_updateName()
 {
     $stylist_name = "Donna";
     $test_stylist = new Stylist($stylist_name);
     $test_stylist->save();
     $new_stylist_name = "Danny";
     //Act
     $test_stylist->updateName($new_stylist_name);
     //Assert
     $this->assertEquals($test_stylist->getStylistName(), "Danny");
 }