public void testMapAddOverlayTrigger() {
loadApi(new Runnable() {
public void run() {
final MapWidget m = new MapWidget();
final Marker marker = new Marker(LatLng.newInstance(0.0, 0.0));
m.addMapAddOverlayHandler(new MapAddOverlayHandler() {
public void onAddOverlay(MapAddOverlayEvent event) {
assertEquals(event.getSender(), m);
assertEquals(event.getOverlay(), marker);
finishTest();