/** * @expectedException Kafka_Exception_Socket_EOF */ public function testMessageSizeFailure() { $this->consumer->close(); $this->consumer->getResponseSize(); $this->fail('The above call should throw an exception'); }
public function tearDown() { $this->producer->close(); unset($this->producer); }