コード例 #1
0
 public function testToStringWithNotSupportedColor()
 {
     $m = new Marker(new \GMaps\Location\Coordinate(1.1, 2.2));
     $m->setColor("foobar");
     $this->assertEquals("size:normal|color:red|1.1,2.2", $m->__toString());
 }