public function setup()
 {
     $this->identifiers = new \Iqu\Sdk\Event_Identifiers();
     $this->uniqueSdkId = sha1(uniqid(mt_rand()));
     $this->identifiers->setIquSdkId($this->uniqueSdkId);
     $this->eventContainer = new \Iqu\Sdk\Event_Container('phpunit', 'phpunit');
 }
 public function setup()
 {
     $this->startTime = time();
     $this->tmpdir = "/tmp/iqu-php-sdk/" . uniqid(mt_rand()) . '/';
     mkdir($this->tmpdir, 0777, true);
     $this->transportContainer = new \Iqu\Sdk\Transport_Container();
     $curlTransport = new \Iqu\Sdk\Transport\Curl();
     $fileTransport = new \Iqu\Sdk\Transport\File($this->tmpdir);
     $fileTransport->setSendAlways(true);
     $this->transportContainer->add($curlTransport);
     $this->transportContainer->add($fileTransport);
     $this->identifiers = new \Iqu\Sdk\Event_Identifiers();
     $this->uniqueSdkId = sha1(uniqid(mt_rand()));
     $this->identifiers->setIquSdkId($this->uniqueSdkId);
     $this->eventContainer = new \Iqu\Sdk\Event_Container(getenv('API_KEY'), getenv('SECRET_KEY'));
 }