Language: Java
Label: safe
CWE: NVD-CWE-noinfo \u2014 

Code:
    private static void assertUpStatus(AggregatedHttpResponse res) throws IOException {
        assertThat(res.status()).isEqualTo(HttpStatus.OK);
        assertThat(res.contentType().toString()).isEqualTo("application/vnd.spring-boot.actuator.v3+json");

        final Map<String, Object> values = OBJECT_MAPPER.readValue(res.content().array(), JSON_MAP);
        assertThat(values).containsEntry("status", "UP");
    }