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

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

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