action2.assertExecuteCount(1);
}
/** Make sure that clearing combos actually deregisters them. */
public void testClearRegistry() {
KeyCombo combo = KeyCombo.BACKSPACE;
KeyBindingRegistry registry = new KeyBindingRegistry();
EditorActionTracker action = new EditorActionTracker();
registry.registerAction(combo, action);
assertTrue(registry.hasAction(combo));