public function it_can_queue_a_command() { $this->commandBusAdapter->handle(new QueuedCommand('test_command', 'test_id'))->shouldBeCalled(); $this->queueCommand('test_command', 'test_id'); }