public function setup()
{
$this->prophet = new Prophet();
$this->commandBus = $this->prophet->prophesize(CommandBusAdapterInterface::class);
$this->commandIdGenerator = $this->prophet->prophesize(CommandIdGeneratorInterface::class);
$this->commandIdGenerator->generateId(Argument::any())->willReturn('test_command_id');
$this->queueResolver = $this->prophet->prophesize(QueueResolverInterface::class);
$this->queueResolver->resolveQueueName(Argument::any())->willReturn('test_queue');
$this->clock = $this->prophet->prophesize(ClockInterface::class);
$implementation = $this->getImplementation();
$this->implementation = new Implementation($this->queueResolver->reveal(), $implementation->getCommandSerializer(), $this->commandIdGenerator->reveal(), $implementation->getQueueDriver(), $implementation->getSchedulerDriver(), $this->clock->reveal(), $this->commandBus->reveal(), new NullLogger());
$this->implementation->getQueueDriver()->deleteQueue('test_queue');
$this->implementation->getSchedulerDriver()->clearSchedule();
}