Пример #1
0
 /**
  * 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);
 }