TestContainer container = new TestContainer("foo");
RuntimeEventListener listener = EasyMock.createMock(RuntimeEventListener.class);
Event event = new TestEvent();
listener.onEvent(EasyMock.eq(event));
EasyMock.replay(listener);
container.addListener(new TrueFilter(), listener);
container.publish(event);
EasyMock.verify(listener);
}