@Test
    @Order(10)
    void verifyStreamOperation() throws Throwable {
        LOGGER.warn("This is a test warning");
        val entries = MAPPER.readValue(mockMvc.perform(get("/actuator/loggingConfig/stream")
                .queryParam("level", "warn")
            .contentType(MediaType.APPLICATION_FORM_URLENCODED)
            .accept(MediaType.APPLICATION_JSON)
        ).andExpect(status().isOk()).andReturn().getResponse().getContentAsString(), List.class);
        assertFalse(entries.isEmpty());
    }
This is {@link LoggingConfigurationEndpointTests}.

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