/** * @group BigData */ public function test3MegaBytesLongDelayedEchoSend() { $size = 3 * 1024 * 1024; $contents = str_repeat('2', $size); if ($this->client->isAcceptingData(null)) { $this->client->send($contents); $this->assertSame($contents, $this->client->receive($size), 'Wrong contents echoed.'); } }