hunk.code_window:                             Map.of("path", "initial/one", "id", "one"),
                               Map.of("path", "initial/two", "id", "two")
                       ), third.remove("ref-list"));
                       assertEquals(Map.of("id", "inner-ref", "path", "initial/inner-ref"), third.remove("$ref"));
                       assertEquals(Collections.emptyMap(), third);
                   })
                   .verifyComplete();
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:                     assertEquals(Map.of("id", "inner-ref", "path", "initial/inner-ref"), third.remove("_ref"));
  
hunk.file_path: app/server/appsmith-plugins/firestorePlugin/src/test/java/com/external/plugins/FirestorePluginTest.java
hunk.type: replace
file: package com.appsmith.server.services;
  
  import com.appsmith.server.domains.Collection;
  import com.appsmith.server.domains.NewAction;
  import com.appsmith.server.dtos.ActionDTO;
  import reactor.core.publisher.Mono;
  
  import java.util.List;
  
  public interface CollectionService extends CrudService<Collection, String> {
      Mono<Collection> findById(String id);
  
      Mono<Collection> addActionsToCollection(Collection collection, List<NewAction> actions);
  
      Mono<ActionDTO> addSingleActionToCollection(String collectionId, ActionDTO action);
  
      Mono<NewAction> removeSingleActionFromCollection(String collectionId, Mono<NewAction> action);
  }
  