@ApiStatus.Internal
  public static @NotNull CompletionAssertions.WatchingInsertionContext createInsertionContext(@Nullable List<LookupElement> lookupItems,
                                                                                              LookupElement item,
                                                                                              char completionChar,
                                                                                              Editor editor,
                                                                                              PsiFile psiFile,
                                                                                              int caretOffset,
                                                                                              int idEndOffset,
                                                                                              OffsetMap offsetMap) {
    int initialStartOffset = Math.max(0, caretOffset - item.getLookupString().length());

    return createInsertionContext(lookupItems, completionChar, editor, psiFile, initialStartOffset, caretOffset, idEndOffset, offsetMap);
  }
@ApiStatus.Internal
  public static @NotNull CompletionAssertions.WatchingInsertionContext createInsertionContext(@Nullable List<LookupElement> lookupItems,
                                                                                              LookupElement item,
                                                                                              char completionChar,
                                                                                              Editor editor,
                                                                                              PsiFile psiFile,
                                                                                              int caretOffset,
                                                                                              int idEndOffset,
                                                                                              OffsetMap offsetMap)