@Test
    void verifyOperation() throws Throwable {
        val response = MAPPER.readValue(mockMvc.perform(get("/actuator/resolveAttributes/casuser")
            .contentType(MediaType.APPLICATION_JSON)
            .accept(MediaType.APPLICATION_JSON)
        ).andExpect(status().isOk()).andReturn().getResponse().getContentAsString(), Map.class);
        assertFalse(response.isEmpty());
        assertTrue(response.containsKey("username"));
        assertTrue(response.containsKey("attributes"));
    }
This is {@link CasResolveAttributesReportEndpointTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-reports/src/test/java/org/apereo/cas/web/report/CasResolveAttributesReportEndpointTests.java