private void assertFactoryAndPlugin(DelegatingClassPool pool, Class<?> factoryClass, Class<?> pluginClass)
{
IsLocalResourcePluginFactory factory = IsLocalResourcePluginFactoryRegistry.getPluginFactory(pool.getClassLoader());
assertNotNull(factory);
assertEquals(factoryClass, factory.getClass());
IsLocalResourcePlugin plugin = factory.create(pool);
assertEquals(pluginClass, plugin.getClass());
}