public function testExecuteCallsNextCommandInChain()
 {
     $itemParams = array();
     $this->_model->expects($this->once())->method('_execute')->with($this->equalTo($itemParams))->will($this->returnValue($itemParams));
     $command1 = $this->getMock('Mage_Backend_Model_Menu_Builder_Command_Update', array(), array(array('id' => 1)));
     $command1->expects($this->once())->method('execute')->with($this->equalTo($itemParams))->will($this->returnValue($itemParams));
     $this->_model->chain($command1);
     $this->assertEquals($itemParams, $this->_model->execute($itemParams));
 }