args.add(tempDir.getRoot().getAbsolutePath());
args.add("-d");
args.add(tempDir.getRoot().getAbsolutePath());
args.addAll(filesToCompile);
ErrorProneCompiler compiler = new ErrorProneCompiler.Builder()
.report(scanner)
.build();
Assert.assertThat(compiler.compile(args.toArray(new String[0])), is(Result.OK));
}