protected void setUp() throws Exception
{
super.setUp();
// Bootstrap the kernel
AbstractBootstrap bootstrap = new BasicBootstrap();
bootstrap.run();
Kernel kernel = bootstrap.getKernel();
controller = kernel.getController();
system = new DefaultClassLoaderSystem();
ClassLoaderDomain defaultDomain = system.getDefaultDomain();
defaultDomain.setParentPolicy(ParentPolicy.BEFORE_BUT_JAVA_ONLY);