}
}
public void testDynamicLoadingFromJarFileWithTwoClasses() {
try {
ResourceStore r = new ResourceStore(db, "Classes");
InterceptClassLoader loader = new InterceptClassLoader(getClass().getClassLoader(), Pattern.compile(PATTERN), Arrays.asList(new DatastoreClassLoaderDelegate(r)));
r.put(store.getBytecodeMapFromJarInputStream(new FileInputStream(FILE2)));
Class c = loader.loadClass("honeycrm.server.test.small.DynamicallyLoadedClass");
// assertTrue(c.getInterfaces()[0].equals(Plugin.class));
// Plugin p = (Plugin) c.newInstance();
// assertEquals("42", p.request());