Exemplo n.º 1
0
 function test_setType()
 {
     $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->setType("Restaurant");
     $result = $test_marker->getType();
     $this->assertEquals("Restaurant", $result);
 }