/** * Test index. */ public function testIndex() { $controller = new TaskController(); $this->response = $controller->index(); $this->seeJson(); $this->assertEquals(200, $this->response->status()); }