/** * @expectedException InvalidArgumentException * @return null */ public function testLoadHeaderNotHeaderInterfaceFirstOneValid() { $header = 'Location: http://www.example.com/'; $response = new HttpResponse(); $headers = array($header, new StdClass()); $response->loadHeaders($headers); }
/** * @depends testIsValidContent * @return null */ public function testRenderContentEmptyString() { $response = new HttpResponse(); $this->expectOutputString(''); $response->renderContent(); }