Payum\Paypal\Rest\Tests\Action\CaptureActionTest::shouldSupportCaptureWithPaymentSdkModel PHP Method

shouldSupportCaptureWithPaymentSdkModel() public method

    public function shouldSupportCaptureWithPaymentSdkModel()
    {
        $action = new CaptureAction();
        $model = new PaymentDetails();
        $request = new Capture($model);
        $this->assertTrue($action->supports($request));
    }