/**
  * @Given /^(this order) has not been paid for (\d+) (day|days|hour|hours)$/
  */
 public function thisOrderHasNotBeenPaidForDays(OrderInterface $order, $amount, $time)
 {
     $order->setCheckoutCompletedAt(new \DateTime('-' . $amount . ' ' . $time));
     $this->orderManager->flush();
     $this->unpaidOrdersStateUpdater->cancel();
 }