/** * Tests the render method. * * @return void * * @covers JViewHtml::render * @since 12.1 */ public function testRender() { // Set up a priority queue. $paths = $this->_instance->getPaths(); $paths->insert(__DIR__ . '/layouts1', 1); $paths->insert(__DIR__ . '/layouts2', 2); $this->_instance->setLayout('olivia'); $this->assertEquals('Peter\'s Olivia', $this->_instance->render()); }