Beispiel #1
0
 function test_setAddress()
 {
     $name = "Pok Pok";
     $address = "123 abcd street";
     $lat = 34.343534;
     $lng = 41.89089;
     $type = "Bar";
     $test_marker = new Marker($name, $address, $lat, $lng, $type);
     $test_marker->setAddress("321 fdg street");
     $result = $test_marker->getAddress();
     $this->assertEquals("321 fdg street", $result);
 }