예제 #1
0
 /**
  * Set up before test
  */
 public function setUp()
 {
     $this->_objectManager = new \Magento\TestFramework\Helper\ObjectManager($this);
     $this->_configMock = $this->getMock('\\Magento\\Install\\Model\\Config', array(), array(), '', false);
     $this->_configMock->expects($this->any())->method('getWizardSteps')->will($this->returnValue(array()));
     $this->_urlBuilderMock = $this->getMock('\\Magento\\Framework\\UrlInterface', array(), array(), '', false);
     $this->_requestMock = $this->getMock('\\Magento\\Framework\\App\\RequestInterface', array(), array(), '', false);
     $this->_model = $this->_objectManager->getObject('Magento\\Install\\Model\\Wizard', array('urlBuilder' => $this->_urlBuilderMock, 'installConfig' => $this->_configMock));
 }