}
public void testInvoke() throws Exception {
String kernelName = "theName";
Kernel kernel = new Kernel(kernelName, "geronimo.test");
kernel.boot();
MBeanServerEndPointImpl serverEndPoint =
new MBeanServerEndPointImpl(new MockNode(), "", kernel);
MBeanServer server = serverEndPoint.getMBeanServer();
assertTrue(server instanceof Referenceable);
assertEquals(kernelName, server.getAttribute(Kernel.KERNEL, "KernelName"));