/**
  * Checks the render kml layers method
  */
 public function testRenderKMLLayers()
 {
     $mapTest = new Model\Map();
     $kmlLayerTest = new Layers\KMLLayer();
     $kmlLayerTest->setUrl('url');
     $mapTest->addKMLLayer($kmlLayerTest);
     $this->assertEquals(self::$mapHelper->renderKMLLayers($mapTest), 'var ' . $kmlLayerTest->getJavascriptVariable() . ' = new google.maps.KmlLayer("url", {"map":' . $mapTest->getJavascriptVariable() . '});' . PHP_EOL);
 }