public function testIndexActionReturnsViewModel() { $controller = new IndexController(); $this->assertInstanceOf(ViewModel::class, $controller->indexAction()); }
public function testIndexAction() { $viewModel = $this->IndexController->indexAction(); $this->assertInstanceof('Zend\\View\\Model\\ViewModel', $viewModel); }
/** * @covers Application\Controller\IndexController::indexAction */ public function testIndexActionReturnsViewModel() { $this->assertInstanceOf('Zend\\View\\Model\\ViewModel', $this->indexController->indexAction()); }