public void testChangeDefaultThrottleAndCancel() {
final JFormattedTextField defaultThrottleTextBox = configDialog.getDefaultThrottleTextBox();
getHelper().sendString(new StringEventData(this, defaultThrottleTextBox, "999"));
final JButton cancelButton = configDialog.getCancelButton();
getHelper().enterClickAndLeave(new MouseEventData(this, cancelButton));
Map<String, Object> changedProperties = configDialog.getGlobalConfig();
assertEquals(999L, changedProperties.get(DroidGlobalProperty.DEFAULT_THROTTLE.getName()));
assertEquals(ConfigDialog.CANCEL, configDialog.getResponse());
}