Example #1
0
 /**
  * @expectedException \RuntimeException
  * @exceptedExceptionMessage 'Layout must be loaded only once.'
  */
 public function testLoadLayoutWhenLayoutAlreadyLoaded()
 {
     $this->_view->setIsLayoutLoaded(true);
     $this->_view->loadLayout();
 }