Omnipay\WechatPay\GatewayTest::setUp PHP Метод

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

public setUp ( )
    public function setUp()
    {
        parent::setUp();
        $this->gateway = Omnipay::create('WechatPay');
        $this->gateway->setAppId('123456789');
        $this->gateway->setMchId('123456789');
        $this->gateway->setApiKey('XXSXXXSXXSXXSX');
        $this->gateway->setNotifyUrl('http://example.com/notify');
        $this->gateway->setTradeType('APP');
    }