private @NotNull PsiFile createPsi(@NotNull FileType fileType) {
    return PsiFileFactory.getInstance(myProject)
      .createFileFromText("preview", fileType, myDocument.getText(), LocalTimeCounter.currentTime(), false);
  }
private @NotNull PsiFile createPsi(@NotNull FileType fileType)