public static String getContent()

in ddm-bpm-extension/src/it/java/com/epam/digital/data/platform/bpms/extension/it/util/TestUtils.java [28:38]


  public static String getContent(String content) {
    if (content.endsWith(".json")) {
      try {
        return Files.readString(
            Paths.get(TestUtils.class.getResource(content).toURI()), StandardCharsets.UTF_8);
      } catch (URISyntaxException e) {
        throw new RuntimeException(e);
      }
    }
    return content;
  }