Пример #1
0
 /**
  * @param Api $api
  * @return ApiInfosInterface
  * @depends testNewApi
  */
 public function testGetApiInfos(Api $api)
 {
     $infos = $api->getApiInfos();
     $this->assertInstanceOf('Sellsy\\Models\\ApiInfosInterface', $infos);
     return $infos;
 }
 /**
  * @depends testSellsyApiHasClientService
  */
 public function testSellsyApiClientConnect(\Sellsy\Api $client)
 {
     $this->assertEquals('ok', $client->getApiInfos()->getStatus());
 }