EventBusImpl bus = eventBus;
TestAwareConsumerQueueSupplier consumerQueueSupplier = new TestAwareConsumerQueueSupplier();
bus.setConsumerQueueSupplier(consumerQueueSupplier);
StatefulEventHandler handler1 = new StatefulEventHandler("con1");
EventFilter filter = new InfixFilterLanguageSupport().convert("xpath(\"//name\")=\"con1\"");
bus.registerSubscriber(filter, handler1);
TestAwareQueue handler1Q = consumerQueueSupplier.testAwareQueue;
StatefulEventHandler handler2 = new StatefulEventHandler("con2");
filter = new InfixFilterLanguageSupport().convert("xpath(\"//name\")=\"con1\"");