protected function queueCommand($command, string $id = null) { $handler = new QueuedCommandHandler($this->implementation); $handler->handleQueuedCommand(new QueuedCommand($command, $id ?? 'test_command_id')); }