public function testRenderWithBound()
 {
     $coordinate1 = new Coordinate(-1.1, -2.1, false);
     $coordinate1->setJavascriptVariable('foo');
     $coordinate2 = new Coordinate(1.1, 2.1, true);
     $coordinate2->setJavascriptVariable('bar');
     $bound = new Bound($coordinate1, $coordinate2);
     $bound->setJavascriptVariable('baz');
     $this->assertSame('baz = new google.maps.LatLngBounds(foo, bar);' . PHP_EOL, $this->boundHelper->render($bound));
 }
 public function testRender()
 {
     $coordinate = new Coordinate(1.1, 2.1, true);
     $coordinate->setJavascriptVariable('foo');
     $this->assertSame('foo = new google.maps.LatLng(1.1, 2.1, true);' . PHP_EOL, $this->coordinateHelper->render($coordinate));
 }