hunk.code_window:                     assertEquals(Map.of("path", "initial/one", "id", "one"), doc.remove("ref"));
                       assertEquals(new GeoPoint(-90, 90), doc.remove("geo"));
                       assertNotNull(doc.remove("dt"));
                       assertEquals("abc def", ((Blob) doc.remove("bytes")).toByteString().toStringUtf8());
                       assertNull(doc.remove("null-ref"));
                       assertEquals(Map.of("id", "two", "path", "initial/two"), doc.remove("$ref"));
                       assertEquals(Collections.emptyMap(), doc);
                   })
                   .verifyComplete();
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:                     assertEquals(Map.of("id", "two", "path", "initial/two"), doc.remove("_ref"));
  
hunk.file_path: app/server/appsmith-plugins/firestorePlugin/src/test/java/com/external/plugins/FirestorePluginTest.java
hunk.type: replace
file: import {
    ReduxActionTypes,
    ReduxAction,
    ReduxActionErrorTypes,
  } from "constants/ReduxActionConstants";
  import {
    ExecuteActionPayload,
    ExecuteErrorPayload,
    PageAction,
  } from "constants/ActionConstants";
  import { BatchAction, batchAction } from "actions/batchActions";
  import PerformanceTracker, {
    PerformanceTransactionName,
  } from "utils/PerformanceTracker";
  
  export const executeAction = (
    payload: ExecuteActionPayload,
  ): BatchAction<ExecuteActionPayload> =>
    batchAction({
      type: ReduxActionTypes.EXECUTE_ACTION,
      payload,
    });
  
  export const executeActionError = (
    executeErrorPayload: ExecuteErrorPayload,
  ): ReduxAction<ExecuteErrorPayload> => {
    return {
      type: ReduxActionErrorTypes.EXECUTE_ACTION_ERROR,
      payload: executeErrorPayload,
    };
  };
  
  export const executePageLoadActions = (
    payload: PageAction[][],
  ): ReduxAction<PageAction[][]> => ({
    type: ReduxActionTypes.EXECUTE_PAGE_LOAD_ACTIONS,
    payload,
  });
  
  export const disableDragAction = (
    isDraggingDisabled: boolean,
  ): ReduxAction<{ isDraggingDisabled: boolean }> => {
    return {
      type: ReduxActionTypes.DISABLE_WIDGET_DRAG,
      payload: {
        isDraggingDisabled,
      },
    };
  };
  
  export const createModalAction = (
    modalName: string,
  ): ReduxAction<{ modalName: string }> => {
    return {
      type: ReduxActionTypes.CREATE_MODAL_INIT,
      payload: {
        modalName,
      },
    };
  };
  
  export const focusWidget = (
    widgetId?: string,
  ): ReduxAction<{ widgetId?: string }> => ({
    type: ReduxActionTypes.FOCUS_WIDGET,
    payload: { widgetId },
  });
  
  export const showModal = (id: string) => {
    return {
      type: ReduxActionTypes.SHOW_MODAL,
      payload: {
        modalId: id,
      },
    };
  };
  
  export const closeAllModals = () => {
    return {
      type: ReduxActionTypes.CLOSE_MODAL,
      payload: {},
    };
  };
  
  export const forceOpenPropertyPane = (id: string) => {
    PerformanceTracker.startTracking(
      PerformanceTransactionName.OPEN_PROPERTY_PANE,
    );
    return {
      type: ReduxActionTypes.SHOW_PROPERTY_PANE,
      payload: {
        widgetId: id,
        force: true,
      },
    };
  };
  
  export const copyWidget = (isShortcut: boolean) => {
    return {
      type: ReduxActionTypes.COPY_SELECTED_WIDGET_INIT,
      payload: {
        isShortcut: !!isShortcut,
      },
    };
  };
  
  export const pasteWidget = () => {
    return {
      type: ReduxActionTypes.PASTE_COPIED_WIDGET_INIT,
    };
  };
  
  export const deleteSelectedWidget = (
    isShortcut: boolean,
    disallowUndo = false,
  ) => {
    return {
      type: ReduxActionTypes.WIDGET_DELETE,
      payload: {
        isShortcut,
        disallowUndo,
      },
    };
  };
  
  export const cutWidget = () => {
    return {
      type: ReduxActionTypes.CUT_SELECTED_WIDGET,
    };
  };
  
  export const addTableWidgetFromQuery = (queryName: string) => {
    return {
      type: ReduxActionTypes.ADD_TABLE_WIDGET_FROM_QUERY,
      payload: queryName,
    };
  };
  