public function testSendIterable() { $this->markTestIncomplete('To rewrite'); $iter = array('a', 'b'); $socket = new DummyZMQSocket(); $socket->setNextRecv(file_get_contents(__DIR__ . '/../data/example.payload')); $conn = new mongrel2\Connection($socket, $socket); $mess = $conn->recv(); $res = new http\Response($iter); $res->sendIterable($mess, $conn); $res->sendIterable($mess, $conn, false); }