@Test
    void verifyServiceUpdate() throws Exception {
        val service = RegisteredServiceTestUtils.getRegisteredService(UUID.randomUUID().toString());
        servicesManager.save(service);
        val content = new RegisteredServiceJsonSerializer(applicationContext).toString(service);
        mockMvc.perform(put("/actuator/registeredServices")
                .contentType(MediaType.APPLICATION_JSON)
                .accept(MediaType.APPLICATION_JSON)
                .content(content)
            )
            .andExpect(status().isOk());
    }
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