public function testCanDeserializeResponseWithoutHeadersOrBody()
{
$text = "HTTP/1.0 204";
$response = Serializer::fromString($text);
$this->assertInstanceOf('Psr\\Http\\Message\\ResponseInterface', $response);
$this->assertInstanceOf('Phly\\Http\\Response', $response);
$this->assertEmpty($response->getHeaders());
$body = $response->getBody()->getContents();
$this->assertEmpty($body);
}