@Test
public void testUpdateState() throws Exception {
TestMouseTracker tracker=new TestMouseTracker(new TestHandler() );
MapMouseEvent event=new MapMouseEvent( DISPLAY, 10,15,NONE,BUTTON1, BUTTON1 );
tracker.updateState(event, EventType.MOVED);
assertEquals(Point.valueOf(10,15), tracker.getDragStarted());
event=new MapMouseEvent( DISPLAY, 10,10,NONE,BUTTON1, BUTTON1 );
tracker.updateState(event, EventType.DRAGGED);