### Question:
JsonResourceUtils { public static String getJsonResourceAsString(String resource) { return getResourceWithoutComments(jsonCommentPattern, resource); } private  JsonResourceUtils(); static String getJsonResourceAsString(String resource); static String getYamlResourceAsString(String resource);  }### Answer:
@Test void shouldRetrieveJsonStringFromResourceFile() { String result = JsonResourceUtils.getJsonResourceAsString("/json/utils/jsonWithHeader.json"); assertThat(result).isEqualToIgnoringWhitespace("{\"property\": \"value\"}"); }