TypeSet { public void addImport(String importString) { imports.add(importString); } TypeSet();  TypeSet(ClassLoader classLoader); boolean hasAuxclasspath(); void setASTCompilationUnitPackage(String pkg); String getASTCompilationUnitPackage(); void addImport(String importString); int getImportsCount(); Set<String> getExplicitImports(); Class<?> findClass(String name);  }
@Test public void testAddImport() { TypeSet t = new TypeSet(); t.addImport("java.io.File"); assertEquals(1, t.getImportsCount()); }