protected function deleteObject($url) { $headers = $this->getBaseHeaders(); try { $response = $this->root->getHttpClient()->delete($url, $headers); return true; } catch (ClientException $e) { $this->addError($e->getRequest(), $e->getResponse()); return false; } }
public function testSMoneyApiUser() { $apiUser = $this->smoneyApi->user(); $this->assertInstanceOf('Picoss\\SMoney\\Api\\ApiUser', $apiUser); }