Omnipay\Alipay\Tests\LegacyWapGatewayTest::setUp PHP Метод

setUp() публичный Метод

public setUp ( )
    public function setUp()
    {
        parent::setUp();
        $this->gateway = new LegacyWapGateway($this->getHttpClient(), $this->getHttpRequest());
        $this->gateway->setPartner($this->partner);
        $this->gateway->setKey($this->key);
        $this->gateway->setSellerId($this->sellerId);
        $this->gateway->setNotifyUrl('https://www.example.com/notify');
        $this->gateway->setReturnUrl('https://www.example.com/return');
        $this->options = ['out_trade_no' => '2014010122390001', 'subject' => 'test', 'total_fee' => '0.01', 'show_url' => 'https://www.example.com/item/123456'];
    }