@@ -27,6 +27,10 @@ |
||
| 27 | 27 | |
| 28 | 28 | protected $order; |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @param ContentController $controller |
|
| 32 | + * @param string $name |
|
| 33 | + */ |
|
| 30 | 34 | public function __construct($controller, $name, Order $order) |
| 31 | 35 | { |
| 32 | 36 | $this->order = $order; |
@@ -106,6 +106,9 @@ discard block |
||
| 106 | 106 | $this->assertEquals(3, $requiredCount); |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | + /** |
|
| 110 | + * @return stdClass |
|
| 111 | + */ |
|
| 109 | 112 | protected function stubGatewayFactory($stubGateway) |
| 110 | 113 | { |
| 111 | 114 | $factory = $this->getMockBuilder('Omnipay\Common\GatewayFactory')->getMock(); |
@@ -113,6 +116,10 @@ discard block |
||
| 113 | 116 | return $factory; |
| 114 | 117 | } |
| 115 | 118 | |
| 119 | + /** |
|
| 120 | + * @param boolean $successValue |
|
| 121 | + * @param string $transactionReference |
|
| 122 | + */ |
|
| 116 | 123 | protected function buildPaymentGatewayStub( |
| 117 | 124 | $successValue, |
| 118 | 125 | $transactionReference, |