public static void verifyCliFrontend( AbstractCustomCommandLine<?> cli, String[] parameters, int expectedParallelism, boolean logging, boolean isDetached) throws Exception { RunTestingCliFrontend testFrontend = new RunTestingCliFrontend(cli, expectedParallelism, logging, isDetached); testFrontend.run(parameters); // verifies the expected values (see below) }