public static void customizeImportUsers()

in src/it/java/com/epam/digital/data/platform/user/util/WireMockCustomizer.java [77:87]


  public static void customizeImportUsers(WireMockServer mockServer, int status,
      String filePath) throws IOException {
    mockServer.
        stubFor(post(urlEqualTo("/auth/admin/realms/some-realm/partialImport"))
            .willReturn(aResponse().withStatus(status)
                .withHeader("Content-Type", "application/json")
                .withBody(
                    copyToString(
                        WireMockCustomizer.class.getClassLoader().getResourceAsStream(filePath),
                        StandardCharsets.UTF_8))));
  }