supports() public method

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