@Test
    void verifyOperation() {
        assertNotNull(defaultServicesManagerRegisteredServiceLocator);
        assertEquals(ServicesManagerRegisteredServiceLocator.DEFAULT_ORDER, defaultServicesManagerRegisteredServiceLocator.getOrder());
        val service = RegisteredServiceTestUtils.getRegisteredService("https://example.org.+");
        val result = defaultServicesManagerRegisteredServiceLocator.locate(List.of(service),
            webApplicationServiceFactory.createService("https://example.org/test"));
        assertNotNull(result);
        assertFalse(defaultServicesManagerRegisteredServiceLocator.getRegisteredServiceIndexes().isEmpty());
    }
This is {@link DefaultServicesManagerRegisteredServiceLocatorTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/DefaultServicesManagerRegisteredServiceLocatorTests.java