public function it_can_generate_a_command_id() { $this->commandIdGenerator->generateId('test_command')->willReturn('test_id'); $this->generateCommandId('test_command')->shouldReturn('test_id'); $this->generateCommandId('test_command'); }