Ejemplo n.º 1
0
 function test_update()
 {
     $type = "Mexican";
     $id = null;
     $test_Cuisine = new Cuisine($type, $id);
     $test_Cuisine->save();
     $new_type = "Italian";
     $test_Cuisine->update_cuisine($new_type);
     $this->assertEquals("Italian", $test_Cuisine->getType());
 }