### Question:
OSGiProcessApplication extends AbstractProcessApplication { @Override public ClassLoader getProcessApplicationClassloader() { return bundleDelegatingCL; } OSGiProcessApplication(Bundle bundle, BlueprintContainer blueprintContainer); @Override ProcessApplicationReference getReference(); @Override ClassLoader getProcessApplicationClassloader(); Bundle getBundle();  }### Answer:
@Test public void getProcessApplicationClassloader() { Bundle bundle = createBundleMock(); OSGiProcessApplication app = new OSGiProcessApplication(bundle, createBlueprintContainerMock()); ClassLoader cl = app.getProcessApplicationClassloader(); assertThat(cl, is(instanceOf(BundleDelegatingClassLoader.class))); assertThat(((BundleDelegatingClassLoader) cl).getBundle(), is(sameInstance(bundle))); }