public function testClientHasOptions()
{
$client = new Client(['base_uri' => 'http://foo.com', 'timeout' => 2, 'headers' => ['bar' => 'baz'], 'handler' => new MockHandler()]);
$base = $client->getConfig('base_uri');
$this->assertEquals('http://foo.com', (string) $base);
$this->assertInstanceOf(Uri::class, $base);
$this->assertNotNull($client->getConfig('handler'));
$this->assertEquals(2, $client->getConfig('timeout'));
$this->assertArrayHasKey('timeout', $client->getConfig());
$this->assertArrayHasKey('headers', $client->getConfig());
}