// the MockGBean implemmentation of getConfigurationClassLoader will throw an exception, but since the GBean architecture
// handles this directly the implementation method will never be called
kernel.getAttribute(name, "classLoader");
GBeanLifecycleController gbeanLifecycleController = (GBeanLifecycleController) kernel.getAttribute(name, "gbeanLifecycleController");
assertNotNull(gbeanLifecycleController);
assertEquals(State.RUNNING_INDEX, gbeanLifecycleController.getState());
assertSame(kernel, kernel.getAttribute(name, "kernel"));
assertSame(kernel, kernel.getAttribute(name, "actualKernel"));
kernel.stopGBean(name);