constructor() {
    super();

    /** @suppress {checkTypes} suppression added to enable type checking */
    this.ac_ = new MockAutoCompleter();
    this.cursorPosition_ = 0;

    this.attachInput(mockElement);
  }
MockInputHandler simulates key events for testing the IME behavior of
InputHandler.