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 { ReduxAction, ReduxActionTypes } from "constants/ReduxActionConstants";
  import { EventLocation } from "utils/AnalyticsUtil";
  
  export const changeApi = (
    id: string,
    newApi?: boolean,
  ): ReduxAction<{ id: string; newApi?: boolean }> => {
    return {
      type: ReduxActionTypes.API_PANE_CHANGE_API,
      payload: { id, newApi },
    };
  };
  
  export const initApiPane = (urlId?: string): ReduxAction<{ id?: string }> => {
    return {
      type: ReduxActionTypes.INIT_API_PANE,
      payload: { id: urlId },
    };
  };
  
  export const setCurrentCategory = (
    category: string,
  ): ReduxAction<{ category: string }> => {
    return {
      type: ReduxActionTypes.SET_CURRENT_CATEGORY,
      payload: { category },
    };
  };
  
  export const setLastUsedEditorPage = (
    path: string,
  ): ReduxAction<{ path: string }> => {
    return {
      type: ReduxActionTypes.SET_LAST_USED_EDITOR_PAGE,
      payload: { path },
    };
  };
  
  export const setLastSelectedPage = (
    selectedPageId: string,
  ): ReduxAction<{ selectedPageId: string }> => {
    return {
      type: ReduxActionTypes.SET_LAST_SELECTED_PAGE_PAGE,
      payload: { selectedPageId },
    };
  };
  
  export const createNewApiAction = (
    pageId: string,
    from: EventLocation,
  ): ReduxAction<{ pageId: string; from: EventLocation }> => ({
    type: ReduxActionTypes.CREATE_NEW_API_ACTION,
    payload: { pageId, from },
  });
  
  export const createNewQueryAction = (
    pageId: string,
    from: EventLocation,
  ): ReduxAction<{ pageId: string; from: EventLocation }> => ({
    type: ReduxActionTypes.CREATE_NEW_QUERY_ACTION,
    payload: { pageId, from },
  });
  