@Test
        void verifyParallelLoading() {
            for (var i = 0; i < 250; i++) {
                val redirectUri = "https://cas.oidc.org/%s".formatted(RandomUtils.randomAlphabetic(8));
                val oidcService = getOidcRegisteredService(UUID.randomUUID().toString(), redirectUri).setId(i);
                val casService = RegisteredServiceTestUtils.getRegisteredService(UUID.randomUUID().toString()).setId(i);
                val oauthService = getOAuthRegisteredService(UUID.randomUUID().toString(), redirectUri).setId(i);
                servicesManager.save(oauthService, oidcService, casService);
            }
            IntStream.range(0, 100).parallel().forEach(__ ->
                assertFalse(servicesManager.getAllServices().isEmpty()));
        }
This is {@link OidcServicesManagerTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/services/OidcServicesManagerTests.java