TypeCollector { public Collection<Type> types() { return Collections.unmodifiableMap(types).values(); } TypeCollector(Initializer initializer, Logger logger); void cache(); boolean isModified(); Type getType(String type); Collection<Type> types(); void removeProvider(String provider); @Override String toString();  }
@Test public void testTypesEmpty() { Collection<Type> types = collector.types(); assertEquals(0, types.size()); }