assertNotNull(Reflections.get(beforeLoader, "parent")); // getParent != parent from WebAppClassLoader
}
loader.internalStop();
server.undeploy(new AssemblerBeforeApplicationDestroyed(info, context));
{
final ClassLoader afterLoader = SystemInstance.get().getComponent(ContainerSystem.class).getWebContext("test").getClassLoader();
assertSame(loader, afterLoader);
assertNotNull(afterLoader);