public void testSimpleApplicationEventMulticaster() {
MockControl ctrl = MockControl.createControl(ApplicationListener.class);
ApplicationListener listener = (ApplicationListener) ctrl.getMock();
ApplicationEvent evt = new ContextClosedEvent(new StaticApplicationContext());
listener.onApplicationEvent(evt);
ctrl.setMatcher(new EqualsMatcher());
SimpleApplicationEventMulticaster smc = new SimpleApplicationEventMulticaster();
smc.addApplicationListener(listener);