### Question:
BundleClassloader extends ResourceDelegatingBundleClassLoader { public String getName() { return root; } BundleClassloader( Bundle bundle, String name ); String getName();  }### Answer:
@Test public void getName() throws Exception { BundleClassloader bundleClassloader = new BundleClassloader( mock( Bundle.class ), "test" ); assertEquals( "test", bundleClassloader.getName() ); URL url = bundleClassloader.findResource( "OSGI-INF/blueprint/blueprint.xml" ); assertNull( url ); }