@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Plane\Shop\Tests; |
4 | 4 | |
5 | -use Plane\Shop\CartItem; |
|
6 | 5 | use OutOfBoundsException; |
6 | +use Plane\Shop\CartItem; |
|
7 | 7 | use Plane\Shop\CartPresenter; |
8 | +use Plane\Shop\Discount\TotalPriceThresholdDiscount; |
|
8 | 9 | use Plane\Shop\PaymentInterface; |
9 | 10 | use Plane\Shop\ShippingInterface; |
10 | -use Plane\Shop\Discount\TotalPriceThresholdDiscount; |
|
11 | 11 | |
12 | 12 | class CartPresenterTest extends \PHPUnit\Framework\TestCase |
13 | 13 | { |
@@ -44,6 +44,9 @@ discard block |
||
44 | 44 | $this->secondCartItem = new CartItem($product, 2); |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @return \Plane\Shop\PaymentInterface |
|
49 | + */ |
|
47 | 50 | protected function getPaymentMock() |
48 | 51 | { |
49 | 52 | $payment = $this->createMock(Payment::class); |
@@ -60,6 +63,9 @@ discard block |
||
60 | 63 | return $payment; |
61 | 64 | } |
62 | 65 | |
66 | + /** |
|
67 | + * @return \Plane\Shop\ShippingInterface |
|
68 | + */ |
|
63 | 69 | protected function getShippingMock() |
64 | 70 | { |
65 | 71 | $shipping = $this->createMock(Shipping::class); |