code: @SuppressWarnings("unchecked")
    private static Object resolveConflictWithResolver(
        final ConflictHandler conflictResolver,
        final BsonValue documentId,
        final ChangeEvent localEvent,
        final ChangeEvent remoteEvent
    ) {
      return conflictResolver.resolveConflict(
          documentId,
          localEvent,
          remoteEvent);
    }
docs: Returns the resolution of resolving the conflict between a local and remote event using
  the given conflict resolver.
  
  @param conflictResolver the conflict resolver to use.
  @param documentId       the document id related to the conflicted events.
  @param localEvent       the conflicted local event.
  @param remoteEvent      the conflicted remote event.
  @return the resolution to the conflict.