ClassFilePool { public void addClassLoader(ClassLoader loader) { if (LOGGER.isTraceEnabled()) { LOGGER.trace("updating classpath with loader " + loader.getClass() + ", parent " + loader.getParent()); } pool.insertClassPath(new LoaderClassPath(loader)); } protected  ClassFilePool(); ClassPool getPool(); void addClassLoader(ClassLoader loader); void addClassFile(byte[] classfileBuffer, String className); CtClass getClassFromAnnotationValue(CtClass annotatedClass, Class<? extends Annotation> annotationClass,
			String annotationField); CtClass getClass(String className); CtClass createClass(File classFile); CtClass createClass(InputStream inputStream); CtClass getClass(Class<?> clazz); static final ClassFilePool INSTANCE; }
@Test public void testUpdateClassPathWithClassLoader() { ClassLoader classLoader = mock(ClassLoader.class); pool.addClassLoader(classLoader); verify(poolMock).insertClassPath(any(LoaderClassPath.class)); }