/**
  * @test
  * @expectedException \ClearcodeHQ\CommandBusLauncher\CommandDoesNotExist
  */
 public function it_throws_exception_when_command_does_not_exist()
 {
     $this->sut->processCommandServices($this->commands);
     $this->sut->getCommandByName('UnexistingCommand');
 }
 public function setUp()
 {
     $this->commandCollector = $this->prophesize(CommandCollector::class);
     $this->argumentsProcessor = $this->prophesize(ArgumentsProcessor::class);
     $this->sut = new CommandLauncher($this->commandCollector->reveal(), $this->argumentsProcessor->reveal());
 }