function test_getPhone()
 {
     $type = "Thai";
     $id = null;
     $test_Cuisine = new Cuisine($type, $id);
     $test_Cuisine->save();
     $name = "Pok Pok";
     $phone = "555-456-2345";
     $address = "123 abcd street";
     $website = "http://www.helloworld.com";
     $cuisine_id = $test_Cuisine->getId();
     $test_Restaurant = new Restaurant($name, $id, $phone, $address, $website, $cuisine_id);
     $result = $test_Restaurant->getPhone();
     $this->assertEquals($phone, $result);
 }
 function test_getPhone()
 {
     //Arrange
     $restaurant_name = "VQ";
     $phone = '5032277342';
     $address = "1220 SW 1st Ave, Portland, OR 97204";
     $website = "http://www.veritablequandary.com/";
     $cuisine_id = 1;
     $id = null;
     $test_restaurant = new Restaurant($restaurant_name, $phone, $address, $website, $cuisine_id, $id);
     //Act
     $result = $test_restaurant->getPhone();
     //Assert
     $this->assertEquals($phone, $result);
 }
 function test_update()
 {
     $name = "Chinese";
     $id = null;
     $test_cuisine = new Cuisine($name, $id);
     $test_cuisine->save();
     $place_name = "Happy House";
     $address = "4234 N Interstate Ave, Portland OR 97217";
     $phone = "503-287-9740";
     $cuisine_id = $test_cuisine->getId();
     $test_restaurant = new Restaurant($place_name, $id, $address, $phone, $cuisine_id);
     $test_restaurant->save();
     $new_place_name = "Very Happy House";
     $new_address = "5000 N Interstate Ave, Portland OR 97217";
     $new_phone = "503-287-9000";
     $test_restaurant->update($new_place_name, $new_address, $new_phone);
     $this->assertEquals("Very Happy House", $test_restaurant->getPlaceName());
     $this->assertEquals("5000 N Interstate Ave, Portland OR 97217", $test_restaurant->getAddress());
     $this->assertEquals("503-287-9000", $test_restaurant->getPhone());
 }