private void testJavaRunner_() throws IOException{
// depend on compilation
testJavaCompiler_();
testCompiler(CeylonToolProvider.getCompiler(Backend.Java), "modules.extra", "1");
RunnerOptions options = new RunnerOptions();
options.setSystemRepository(SystemRepo);
options.addUserRepository("flat:"+FlatRepoLib);
options.addUserRepository("flat:"+FlatRepoOverrides);
options.addUserRepository(OutputRepository);
options.addExtraModule("modules.extra", "1");
Runner runner = CeylonToolProvider.getRunner(Backend.Java, options, "modules.usesProvided", "1");
runner.run();
// make sure we only got our two modules in the CL
Assert.assertTrue(runner instanceof JavaRunnerImpl);