Exemplo n.º 1
0
 public function testResponseToString()
 {
     $statusCode = '204';
     $content = 'foo';
     $headers = array('foo' => 'bar');
     $response = new Response($statusCode, $content, $headers);
     $this->assertInternalType('string', $response->__toString());
 }