@BeforeAll
    public static void setup() throws Exception {
        val response = MAPPER.writeValueAsString(Map.of("cas.authn.accept.users", STATIC_AUTHN_USERS));
        System.setProperty(RestfulPropertySourceLocator.CAS_CONFIGURATION_PREFIX + '.' + "url", "http://localhost:9345");
        SERVER = new MockWebServer(9345, new ByteArrayResource(response.getBytes(StandardCharsets.UTF_8), "Output"),
            HttpStatus.OK);
        SERVER.start();
    }
This is {@link CasRestfulCloudConfigBootstrapAutoConfigurationTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-configuration-cloud-rest/src/test/java/org/apereo/cas/CasRestfulCloudConfigBootstrapAutoConfigurationTests.java