/** * Checks the render stylesheets method */ public function testRenderStylesheets() { $mapTest = new Model\Map(); $mapTest->setHtmlContainerId('html_container_id'); $mapTest->setStylesheetOptions(array('height' => '100px', 'width' => '200px', 'option1' => 'value1')); $this->assertEquals(self::$mapHelper->renderStylesheets($mapTest), '<style type="text/css">' . PHP_EOL . '#html_container_id{' . PHP_EOL . 'width:200px;' . PHP_EOL . 'height:100px;' . PHP_EOL . 'option1:value1;' . PHP_EOL . '}' . PHP_EOL . '</style>' . PHP_EOL); }