Payum\Paypal\ExpressCheckout\Nvp\Tests\Action\PaymentDetailsStatusActionTest::shouldMarkPendingIfPayerIdNotSetAndCheckoutStatusNotInitiated PHP Method

shouldMarkPendingIfPayerIdNotSetAndCheckoutStatusNotInitiated() public method

    public function shouldMarkPendingIfPayerIdNotSetAndCheckoutStatusNotInitiated()
    {
        $action = new PaymentDetailsStatusAction();
        $request = new GetHumanStatus(array('PAYMENTREQUEST_0_AMT' => 12, 'PAYERID' => null, 'CHECKOUTSTATUS' => Api::CHECKOUTSTATUS_PAYMENT_ACTION_NOT_INITIATED));
        $action->execute($request);
        $this->assertTrue($request->isPending());
    }