/** * Test to ensure Http Client is created and returned if not set */ public function testEnsureHttpClientIsCreatedAndReturnedIfNotSet() { $client = new Client(); $httpClient = $client->getHttpClient(); $this->assertInstanceOf('\\GuzzleHttp\\Client', $httpClient); $this->assertEquals($client::BASEURL, $httpClient->getBaseUrl()); }