public function testExceptInvalidChunkedBody() { try { Response\Response::decodeChunkedBody($this->readResponse('response_deflate')); $this->fail('An expected exception was not thrown'); } catch (\Zend\HTTP\Exception $e) { // We are ok! } }