}
@Before
public void setUp() throws Exception {
events = new StringBuffer();
listener = new RecordingEventListener(new RecorderMock(), null, ScriptModelServerPart.getModelServerPart(),
WindowMonitor.getInstance()) {
protected void mousePressed(MComponent component, MouseEvent e) {
events.append("mouse pressed on " + getName(component) + " with " + e.getClickCount() + " clicks");
}