public function testAddActionLayoutHandlesWhenPageLayoutHandlesExist() { $this->_requestMock->expects($this->once())->method('getFullActionName')->will($this->returnValue('Full_Action_Name')); $this->_layoutProcessor->expects($this->once())->method('addPageHandles')->with(array('full_action_name'))->will($this->returnValue(true)); $this->_layoutProcessor->expects($this->never())->method('addHandle'); $this->_view->addActionLayoutHandles(); }