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