supports() public method

{@inheritDoc}
public supports ( $request )
Example #1
0
 /**
  * @test
  */
 public function shouldSupportCapture()
 {
     $action = new CaptureAction();
     $request = new Capture($this->getMock(PaypalPayment::class));
     $this->assertTrue($action->supports($request));
 }
Example #2
0
 /**
  * @test
  */
 public function shouldSupportCapture()
 {
     $action = new CaptureAction();
     $request = new Capture($this->getMock('PayPal\\Api\\Payment'));
     $this->assertTrue($action->supports($request));
 }