eZ\Publish\Core\REST\Client\Tests\HttpClient\StreamTest::setUp PHP Метод

setUp() публичный Метод

Sets up the testing environment.
public setUp ( )
    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.');
        }
    }