Example #1
0
 public function testApi_key_get()
 {
     $client = new \Model_Client();
     $client->loadBean(new \RedBeanPHP\OODBBean());
     $client->api_token = '16047a3e69f5245756d73b419348f0c7';
     $this->clientApi->setIdentity($client);
     $result = $this->clientApi->api_key_get(array());
     $this->assertEquals($result, $client->api_token);
 }