{
ClassLoader cl = unit.getClassLoader();
if (cl instanceof InterceptionClassLoader == false)
throw new IllegalArgumentException("Expecting InterceptionClassLoader instance: " + cl);
InterceptionClassLoader icl = (InterceptionClassLoader)cl;
Set<String> loaded = icl.getLoaded();
assertNotNull(loaded);
assertEquals(loaded.contains(className), checkFlag);
}