@@ 55-62 (lines=8) @@ | ||
52 | ]); |
|
53 | } |
|
54 | ||
55 | public function testInvalidTestModeException() |
|
56 | { |
|
57 | $this->setExpectedException('Omnipay\Common\Exception\InvalidResponseException', 'Invalid test mode'); |
|
58 | new CompletePurchaseResponse($this->request, [ |
|
59 | 'item_name' => $this->description, |
|
60 | '_result' => $this->response, |
|
61 | ]); |
|
62 | } |
|
63 | ||
64 | public function testInvalidPaymentStatusException() |
|
65 | { |
|
@@ 64-71 (lines=8) @@ | ||
61 | ]); |
|
62 | } |
|
63 | ||
64 | public function testInvalidPaymentStatusException() |
|
65 | { |
|
66 | $this->setExpectedException('Omnipay\Common\Exception\InvalidResponseException', 'Invalid payment status'); |
|
67 | new CompletePurchaseResponse($this->request, [ |
|
68 | 'item_name' => $this->description, |
|
69 | '_result' => $this->response, |
|
70 | ]); |
|
71 | } |
|
72 | ||
73 | public function testSuccess() |
|
74 | { |