testCreateDialog() {
    mockField.$replay();

    plugin = new HelloWorldDialogPlugin();
    plugin.registerFieldObject(mockField);

    /** @suppress {visibility} suppression added to enable type checking */
    const dialog = plugin.createDialog(googDom.getDomHelper());
    assertTrue(
        'Dialog should be of type goog.demos.editor.HelloWorldDialog',
        dialog instanceof HelloWorldDialog);

    mockField.$verify();
  }
Tests that the plugin's dialog is properly created.
@suppress {checkTypes} suppression added to enable type checking