public static void customizeGetAllUser()

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


  public static void customizeGetAllUser(WireMockServer mockServer, int status,
      String filePath) throws IOException {
    mockServer.stubFor(
        get(urlEqualTo("/auth/admin/realms/some-realm/users?max=2147483647"))
            .willReturn(aResponse()
                .withStatus(status)
                .withHeader("Content-Type", MediaType.APPLICATION_JSON_VALUE)
                .withBody(
                    copyToString(
                        WireMockCustomizer.class.getClassLoader()
                            .getResourceAsStream(filePath), StandardCharsets.UTF_8))));
  }