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