@@ -8,10 +8,10 @@ |
||
| 8 | 8 | use Doctrine\ORM\Events; |
| 9 | 9 | use Doctrine\ORM\ORMException; |
| 10 | 10 | use Loevgaard\DandomainFoundation\Entity\OrderLine; |
| 11 | +use Loevgaard\DandomainStockBundle\EventListener\OrderLineSubscriber; |
|
| 11 | 12 | use Loevgaard\DandomainStock\Exception\CurrencyMismatchException; |
| 12 | 13 | use Loevgaard\DandomainStock\Exception\UnsetCurrencyException; |
| 13 | 14 | use Loevgaard\DandomainStock\Repository\StockMovementRepository; |
| 14 | -use Loevgaard\DandomainStockBundle\EventListener\OrderLineSubscriber; |
|
| 15 | 15 | use PHPUnit\Framework\TestCase; |
| 16 | 16 | |
| 17 | 17 | final class OrderLineSubscriberTest extends TestCase |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | /** |
| 128 | 128 | * @param object $object |
| 129 | 129 | * |
| 130 | - * @return \PHPUnit\Framework\MockObject\MockObject|LifecycleEventArgs |
|
| 130 | + * @return \Doctrine\Common\Persistence\Event\LifecycleEventArgs |
|
| 131 | 131 | */ |
| 132 | 132 | private function getLifecycleEventArgs($object) |
| 133 | 133 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | /** |
| 128 | 128 | * @param object $object |
| 129 | 129 | * |
| 130 | - * @return \PHPUnit\Framework\MockObject\MockObject|LifecycleEventArgs |
|
| 130 | + * @return \Doctrine\Common\Persistence\Event\LifecycleEventArgs |
|
| 131 | 131 | */ |
| 132 | 132 | private function getLifecycleEventArgs($object) |
| 133 | 133 | { |
@@ -11,12 +11,12 @@ |
||
| 11 | 11 | use Loevgaard\DandomainFoundation\Entity\Order; |
| 12 | 12 | use Loevgaard\DandomainFoundation\Entity\OrderLine; |
| 13 | 13 | use Loevgaard\DandomainFoundation\Entity\State; |
| 14 | +use Loevgaard\DandomainStockBundle\EventListener\OrderSubscriber; |
|
| 14 | 15 | use Loevgaard\DandomainStock\Exception\CurrencyMismatchException; |
| 15 | 16 | use Loevgaard\DandomainStock\Exception\StockMovementProductMismatchException; |
| 16 | 17 | use Loevgaard\DandomainStock\Exception\UndefinedPriceForCurrencyException; |
| 17 | 18 | use Loevgaard\DandomainStock\Exception\UnsetCurrencyException; |
| 18 | 19 | use Loevgaard\DandomainStock\Exception\UnsetProductException; |
| 19 | -use Loevgaard\DandomainStockBundle\EventListener\OrderSubscriber; |
|
| 20 | 20 | use PHPUnit\Framework\TestCase; |
| 21 | 21 | |
| 22 | 22 | final class OrderSubscriberTest extends TestCase |