public function testIndexAction() { $model = $this->controller->indexAction(); $this->assertInstanceOf('Zend\\View\\Model\\ViewModel', $model); }
/** * @covers \Magento\Setup\Controller\Marketplace::popupAuthAction */ public function testPopupAuthAction() { $viewModel = $this->controller->popupAuthAction(); $this->assertInstanceOf('Zend\\View\\Model\\ViewModel', $viewModel); $this->assertTrue($viewModel->terminate()); }