/** * Tests the setLayout method. * * @return void * * @covers JViewHtml::setLayout * @since 12.1 */ public function testSetLayout() { $result = $this->_instance->setLayout('fringe/division'); $this->assertAttributeSame('fringe/division', 'layout', $this->_instance); $this->assertSame($this->_instance, $result); }