MapEditorPart mapEditor = (MapEditorPart) PlatformUI.getWorkbench()
.getActiveWorkbenchWindow().getActivePage().getActiveEditor();
assertNotNull(mapEditor);
MapEditorInput input = (MapEditorInput) mapEditor.getEditorInput();
assertEquals(map, input.getProjectElement());
}