public function setUp() { parent::setUp(); $this->gateway = new AopF2FGateway($this->getHttpClient(), $this->getHttpRequest()); $this->gateway->setAppId($this->appId); $this->gateway->setPrivateKey($this->appPrivateKey); $this->gateway->setEncryptKey($this->appEncryptKey); $this->gateway->setNotifyUrl('https://www.example.com/notify'); $this->gateway->sandbox(); }