コード例 #1
0
ファイル: ClientTest.php プロジェクト: mfrost503/billow
 /**
  * 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());
 }