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

shouldMarkNewIfPayerIdSetAndCheckoutStatusNotInitiated() public method

    public function shouldMarkNewIfPayerIdSetAndCheckoutStatusNotInitiated()
    {
        $action = new PaymentDetailsStatusAction();
        $request = new GetHumanStatus(array('PAYMENTREQUEST_0_AMT' => 0, 'PAYERID' => 'thePayerId', 'CHECKOUTSTATUS' => Api::CHECKOUTSTATUS_PAYMENT_ACTION_NOT_INITIATED));
        $action->execute($request);
        $this->assertTrue($request->isNew());
    }