public function it_fails_on_routing_a_second_command_before_first_definition_is_finished()
{
$router = new CommandRouter();
$router->route('ProophTest\\ServiceBus\\Mock\\DoSomething');
$this->setExpectedException('\\Prooph\\ServiceBus\\Exception\\RuntimeException');
$router->route('AnotherCommand');
}