Esempio n. 1
0
 public function testLoginFailedException()
 {
     $this->expectException(LoginException::class);
     $apiClient = new Client(new httpClient());
     $apiClient->setConfig(['api_key' => '<non existing key>', 'api_secret' => '<non existing secret>']);
     $apiClient->call();
 }