public function testResponseRedirect() { $this->response->cleanHeaders(); $this->response->redirect('/', 302); $this->assertArrayHasKey('Location', $this->response->getHeaders()); $this->response->cleanHeaders(); }