Esempio n. 1
0
 /**
  * @covers \Magento\DesignEditor\Controller\Adminhtml\System\Design\Editor::indexAction
  * @dataProvider indexActionDataProvider
  */
 public function testIndexAction($countCustomization)
 {
     $this->_objectManagerMock->expects($this->any())->method('get')->will($this->returnValueMap($this->_getObjectManagerMap($countCustomization, 'index')));
     $this->assertNull($this->_model->execute());
 }
Esempio n. 2
0
 /**
  * @dataProvider firstEntranceActionDataProvider
  */
 public function testFirstEntranceAction($countCustomization)
 {
     $this->objectManagerMock->expects($this->any())->method('get')->will($this->returnValueMap($this->getObjectManagerMap($countCustomization)));
     $this->assertNull($this->model->execute());
 }