assertTrue( scannedBeanModule2.getEventsReceived().isEmpty() );
assertTrue( constructedBeanModule1.getEventsReceived().isEmpty() );
assertTrue( constructedBeanModule2.getEventsReceived().isEmpty() );
assertTrue( testListener.getEventsReceived().isEmpty() );
TestEvent testEvent = new TestEvent();
context.publishEvent( testEvent );
assertEquals( 1, scannedBeanModule1.getEventsReceived().size() );
assertEquals( 1, scannedBeanModule2.getEventsReceived().size() );
assertEquals( 1, constructedBeanModule1.getEventsReceived().size() );