public function setUp() { $this->client = new Stream('http://localhost:8042'); try { $this->client->request('GET', '/'); } catch (ConnectionException $e) { $this->markTestSkipped('No HTTP server at http://localhost:8042 found.'); } }