Payum\Klarna\Checkout\Tests\Action\AuthorizeActionTest::shouldThrowIfTermsUriNotSetNeitherInConfigNorPayment PHP Метод

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

    public function shouldThrowIfTermsUriNotSetNeitherInConfigNorPayment()
    {
        $action = new AuthorizeAction('aTemplate');
        $action->setGateway($this->createGatewayMock());
        $action->setApi(new Config());
        $action->execute(new Authorize(['merchant' => ['confirmation_uri' => 'theConfirmationUri', 'push_uri' => 'thePushUri', 'checkout_uri' => 'theCheckoutUri']]));
    }