};
bindings.registerAction(KeyCombo.ORDER_G, testAction);
EditorImpl editor = createEditor(bindings);
// 103 = g, this event = CTRL_G which is bound to ORDER_G by the EventWrapper
Event rawEvent = Document.get().createKeyPressEvent(
true, false, false, false, G_CODE, G_CODE).cast();
editor.onJavaScriptEvent("keypress", rawEvent);
assertEquals("Callback action not called on registered keypress", callTracker, 1);
}