public function setUp() { $sdkConf = new \XAPISdk\Configuration\XAPISdkConfiguration(Bootstrap::XAPI_URI, Bootstrap::XAPI_PUBLIC_KEY, Bootstrap::XAPI_PRIVATE_KEY); $clientFactory = new \XAPISdk\Clients\ClientFactory($sdkConf); /** @var \XAPISdk\Clients\SoggettiClient $soggettiClient */ $this->_client = $clientFactory->getClientForBusinessObject(\XAPISdk\Data\BusinessObjects\Soggetto::CLASS_NAME); }
public function setUp() { $sdkConf = new \XAPISdk\Configuration\XAPISdkConfiguration(Bootstrap::XAPI_URI, Bootstrap::XAPI_PUBLIC_KEY, Bootstrap::XAPI_PRIVATE_KEY); $clientFactory = new \XAPISdk\Clients\ClientFactory($sdkConf); $this->_client = $clientFactory->getClientForBusinessObject(\XAPISdk\Data\BusinessObjects\ImpegnatoArticolo::CLASS_NAME); }