public void testResizeListener() {
ResizeListener rl = EasyMock.createMock(Window.ResizeListener.class);
// Expectations
rl.windowResized(EasyMock.isA(ResizeEvent.class));
// Start actual test
EasyMock.replay(rl);
// Add listener and send a resize event -> should end up in listener