| 1 | <?php  | 
            ||
| 21 | final class ShippingContext implements Context  | 
            ||
| 22 | { | 
            ||
| 23 | /**  | 
            ||
| 24 | * @var ShipmentRepositoryInterface  | 
            ||
| 25 | */  | 
            ||
| 26 | private $shipmentRepository;  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * @param ShipmentRepositoryInterface $shipmentRepository  | 
            ||
| 30 | */  | 
            ||
| 31 | public function __construct(ShipmentRepositoryInterface $shipmentRepository)  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 |      * @Then /^there should be no shipments with ("[^"]+" shipping method) in the registry$/ | 
            ||
| 38 | */  | 
            ||
| 39 | public function shipmentShouldNotExistInTheRegistry(ShippingMethodInterface $shippingMethod)  | 
            ||
| 45 | }  | 
            ||
| 46 |