}
public void testSimpleFireEvent() throws Throwable
{
Kernel kernel = bootstrap();
KernelRegistry registry = kernel.getRegistry();
KernelEventManager eventManager = kernel.getEventManager();
TestEmitter emitter = new TestEmitter();
KernelRegistryEntry entry = makeEntry(emitter);
registry.registerEntry("Emitter", entry);
TestListener listener = new TestListener();
eventManager.registerListener("Emitter", listener, null, null);
emitter.testFire("testtype", null);
ArrayList expected = new ArrayList();
expected.add(EventTestCaseSupport.makeExpected(emitter, "testtype", 0, null, null));