// invoke GBean by name and type
assertEquals("1234", kernel.getAttribute("MyBean", TestGBean.class, "value"));
assertEquals("1234", kernel.invoke("MyBean", TestGBean.class, "fetchValue"));
// stop and unload configuration
configurationManager.stopConfiguration(configurationId);
configurationManager.unloadConfiguration(configurationId);
// stop the kernel
kernel.shutdown();
}