Exemplo n.º 1
0
 function test_setName()
 {
     $name = "Pok Pok";
     $address = "123 abcd street";
     $lat = 34.343534;
     $lng = 41.984759;
     $type = "Bar";
     $test_marker = new Marker($name, $address, $lat, $lng, $type);
     $test_marker->setName("Whiskey Soda Lounge");
     $result = $test_marker->getName();
     $this->assertEquals("Whiskey Soda Lounge", $result);
 }