properties.put(DroidGlobalProperty.UPDATE_AUTOSET_DEFAULT.getName(), Boolean.FALSE);
DroidGlobalConfig globalConfig = mock(DroidGlobalConfig.class);
when(globalConfig.getPropertiesMap()).thenReturn(properties);
GlobalContext globalContext = mock(GlobalContext.class);
when(globalContext.getGlobalConfig()).thenReturn(globalConfig);
configDialog = new ConfigDialog(null, globalContext);
configDialog.setModal(false);
configDialog.setVisible(true);
}