@Test
    void verifyNativeImageServicesDirectory() throws Throwable {
        System.setProperty(CasRuntimeHintsRegistrar.SYSTEM_PROPERTY_SPRING_AOT_PROCESSING, "true");
        val resource = mock(Resource.class);
        when(resource.getURI()).thenReturn(new URI("resource:/services"));
        val registry = buildResourceBasedServiceRegistry(resource);
        val location = registry.getServiceRegistryDirectory();
        assertEquals(AbstractResourceBasedServiceRegistry.FALLBACK_REGISTERED_SERVICES_LOCATION.getCanonicalPath(), location.toFile().getCanonicalPath());
    }
Handles test cases for {@link JsonServiceRegistry}.

@author Misagh Moayyed
@since 4.1.0
support/cas-server-support-json-service-registry/src/test/java/org/apereo/cas/services/JsonServiceRegistryTests.java