docs: protected File createTempFile() throws IOException {
  
          final File tempFile = newFile();
          if (forceContent && contentUrl == null) {
              throw new AssertionError("ContentUrl is not set");
          } else if (contentUrl == null) {
              createEmptyFile(tempFile);
          } else {
              try (InputStream inputStream = contentUrl.openStream()) {
                  Files.copy(inputStream, tempFile.toPath());
              }
          }
          return tempFile;
      }