abstract class HttpClientTestCase extends BaseHttpClientTestCase
{ private static bool
$vulcainStarted = false;
public function testTimeoutOnDestruct() { if (!
method_exists(parent::
class, 'testTimeoutOnDestruct'
)) { $this->
markTestSkipped('BaseHttpClientTestCase doesn\'t have testTimeoutOnDestruct().'
);
} parent::
testTimeoutOnDestruct();
} public function testAcceptHeader() { $client =
$this->
getHttpClient(__FUNCTION__
);
$response =
$client->
request('GET', 'http://localhost:8057'
);
$requestHeaders =
$response->
toArray();
$this->
assertSame('*/*',
$requestHeaders['HTTP_ACCEPT'
]);