@Test(expectedExceptions = IllegalArgumentException.class,expectedExceptionsMessageRegExp = ".*Unknown.*")
public void unknownCommand() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException {

    CommandDispatcher d = new CommandDispatcher(opts("blub", "42"));
    d.dispatchCommand(null,null);
}