/** * @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()); }
/** * @dataProvider firstEntranceActionDataProvider */ public function testFirstEntranceAction($countCustomization) { $this->objectManagerMock->expects($this->any())->method('get')->will($this->returnValueMap($this->getObjectManagerMap($countCustomization))); $this->assertNull($this->model->execute()); }