Example #1
0
 public function testAddPageLayoutHandles()
 {
     $pageHandles = ['full_action_name', 'full_action_name_key_value'];
     $this->_requestMock->expects($this->once())->method('getFullActionName')->will($this->returnValue('Full_Action_Name'));
     $this->_layoutProcessor->expects($this->once())->method('addHandle')->with($pageHandles);
     $this->_view->addPageLayoutHandles(['key' => 'value']);
 }