public function setUp()
 {
     $this->accountRegistrationReference = 'eyJhciI6InRlc3RyZWZlcmVuY2UiLCJwYyI6IkNDLkRCIn0=';
     $gateway = new PostGateway($this->getHttpClient(), $this->getHttpRequest());
     $gateway->setTestMode(true);
     $gateway->setSecuritySender('696a8f0fabffea91517d0eb0a0bf9c33');
     $gateway->setTransactionChannel('52275ebaf361f20a76b038ba4c806991');
     $gateway->setUserLogin('1143238d620a572a726fe92eede0d1ab');
     $gateway->setUserPwd('demo');
     $gateway->setIdentificationShopperId('Test shopper');
     $this->gateway = $gateway;
 }
 public function setUp()
 {
     $logger = new Logger('UnitTest logger');
     $logger->pushHandler(new RotatingFileHandler(__DIR__ . '/../../tmp/logs/unit-tests.log'));
     $accountRegistrationReference = getenv('PAYUNITY_DRIVER_FOR_OMNIPAY_TESTING_ACCOUNT_REGISTRATION_REFERENCE');
     $this->accountRegistrationReference = $accountRegistrationReference;
     $gateway = new PostGateway($this->getHttpClient(), $this->getHttpRequest());
     $gateway->setTestMode(true);
     $gateway->setSecuritySender(getenv('PAYUNITY_SECURITY_SENDER') ?: '696a8f0fabffea91517d0eb0a0bf9c33');
     $gateway->setTransactionChannel(getenv('PAYUNITY_TRANSACTION_CHANNEL') ?: '52275ebaf361f20a76b038ba4c806991');
     $gateway->setUserLogin(getenv('PAYUNITY_USER_LOGIN') ?: '1143238d620a572a726fe92eede0d1ab');
     $gateway->setUserPwd(getenv('PAYUNITY_USER_PWD') ?: 'demo');
     $gateway->setIdentificationShopperId('Test shopper');
     $gateway->attachPsrLogger($logger);
     $this->gateway = $gateway;
 }