public function testRenderHeaders() { $headers = array('one', 'two'); $response = $this->controller->render('', array(), '', $headers); $this->assertTrue(in_array($headers[0], $response->getHeaders())); $this->assertTrue(in_array($headers[1], $response->getHeaders())); }