/**
  * @test
  * @expectedException \ClearcodeHQ\CommandBusLauncher\CommandDoesNotExist
  */
 public function it_throws_exception_when_command_does_not_exist()
 {
     $this->sut->processCommandServices($this->commands);
     $this->sut->getCommandByName('UnexistingCommand');
 }
 /**
  * @test
  */
 public function it_returns_command_reflection()
 {
     $this->commandCollector->getCommandByName('DummyCommand')->willReturn(CommandReflection::fromClass(DummyCommand::class));
     $commandReflection = $this->sut->getCommandReflection('DummyCommand');
     $this->assertInstanceOf(CommandReflection::class, $commandReflection);
 }