brokerSetup.declareExchange(TestSetup.TEST_EXCHANGE_TWO, "topic");
brokerSetup.declareAndBindQueue(
TestSetup.TEST_QUEUE_ONE, TestSetup.TEST_EXCHANGE_ONE, TestSetup.TEST_ROUTING_KEY_ONE);
brokerSetup.declareAndBindQueue(
TestSetup.TEST_QUEUE_TWO, TestSetup.TEST_EXCHANGE_TWO, TestSetup.TEST_ROUTING_KEY_TWO);
brokerAssert = new BrokerAssert();
// Initializes the weld container
WeldContainer container = new Weld().initialize();
Instance<Object> instancePool = container.instance();
eventControl = container.event();
eventBinder = instancePool.select(TestEventBinder.class).get();