/**
  * Checks the render info windows method
  */
 public function testRenderInfoWindows()
 {
     $mapTest = new Model\Map();
     $infoWindow = new Overlays\InfoWindow();
     $infoWindow->setPosition(new Base\Coordinate(1.1, 2.1, true));
     $infoWindow->setContent('content');
     $infoWindow->setOpen(true);
     $mapTest->addInfoWindow($infoWindow);
     $this->assertEquals(self::$mapHelper->renderInfoWindows($mapTest), 'var ' . $infoWindow->getJavascriptVariable() . ' = new google.maps.InfoWindow({"position":new google.maps.LatLng(1.1, 2.1, true),"content":"content"});' . PHP_EOL . $infoWindow->getJavascriptVariable() . '.open(' . $mapTest->getJavascriptVariable() . ');' . PHP_EOL);
 }