public void testMapClearOverlayEvent() {
loadApi(new Runnable() {
public void run() {
final MapWidget m = new MapWidget();
final Marker marker = new Marker(LatLng.newInstance(0.0, 0.0));
m.addMapClearOverlaysHandler(new MapClearOverlaysHandler() {
public void onClearOverlays(MapClearOverlaysEvent event) {
assertEquals(event.getSender(), m);
finishTest();
}
});