public function thisOrderHasAlreadyBeenShipped(OrderInterface $order) { $this->applyShipmentTransitionOnOrder($order, ShipmentTransitions::TRANSITION_SHIP); $this->objectManager->flush(); }