/** * Head link with several attributes * @magentoAppIsolation enabled */ public function testGetCssJsHtmlSeveralAttributes() { $this->_block->addChild('magento-page-head-test-link', 'Magento\\Theme\\Block\\Html\\Head\\Link', array('url' => 'http://localhost/index.php/category.html', 'properties' => array('attributes' => array('rel' => 'next', 'attr' => 'value', 'some_other_attr' => 'value2')))); $this->assertSame('<link rel="next" attr="value" some_other_attr="value2" ' . 'href="http://localhost/index.php/category.html" />' . "\n", $this->_block->getCssJsHtml()); }