private function prepareEvent(OrderItemEvent $event)
    {
        if (!$event->hasItem()) {
            if (!$event->hasSubject()) {
                throw new LogicException('At least the item or the subject must be set.');
            }
            $event->setItem($this->helper->transform($event->getSubject()));
        }
    }