### Question:
JsonResourceUtils { public static String getYamlResourceAsString(String resource) { return getResourceWithoutComments(yamlCommentPattern, resource); } private  JsonResourceUtils(); static String getJsonResourceAsString(String resource); static String getYamlResourceAsString(String resource);  }### Answer:
@Test void shouldRetrieveYamlStringFromResourceFile() { String result = JsonResourceUtils.getYamlResourceAsString("/yaml/utils/yamlWithHeader.yml"); assertThat(result).isEqualToIgnoringWhitespace("property: \"value\""); }