Set<String> expectedDependencyLibraryNames = Sets.newHashSet("FooLib", "BarLib");
oracle.add(BAR, SUPER_FOO, JdtCompilerTest.OUTER_INNER);
rebuildCompilationState();
List<CompilationUnit> compilationUnits =
Lists.newArrayList(state.getCompilationUnitMap().values());
CompilationErrorsIndexImpl expectedCompilationErrorsIndex = new CompilationErrorsIndexImpl();
expectedCompilationErrorsIndex.add("com.google.Foo", "/project/src/com/google/Foo.java",
Lists.newArrayList("com.google.Bang"), Lists.newArrayList("Unresolved type 'Bang'"));
// Put data in the library and save it.
ZipLibraryWriter zipLibraryWriter = new ZipLibraryWriter(zipFile.getPath());
zipLibraryWriter.setLibraryName(expectedLibraryName);