assertEquals("Callback action called on deregistered keypress", callTracker, 1);
}
/** Util to help construct an editor instance. */
private EditorImpl createEditor(KeyBindingRegistry keyBinding) {
EditorStaticDeps.setPopupProvider(new PopupProvider() {
@Override
public UniversalPopup createPopup(Element reference, RelativePopupPositioner positioner,
PopupChrome chrome, boolean autoHide) {
return new Popup(reference, positioner);
}