@Test
    void verifyImportOperationFails() throws Throwable {
        mockMvc.perform(post("/actuator/registeredServices/import")
                .contentType(MediaType.APPLICATION_JSON)
                .content(StringUtils.EMPTY))
            .andExpect(status().isBadRequest());
    }
This is {@link RegisteredServicesEndpointTests}.

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