public function testIndexActionCanBeAccessed() { $this->routeMatch->setParam('action', 'index'); $this->controller->dispatch($this->request); $this->assertEquals(200, $this->controller->getResponse()->getStatusCode()); }