@Test
    void verifyOperation() throws Throwable {
        val strategy = new DefaultRegisteredServiceResourceNamingStrategy();
        val locator = new TypeAwareGitRepositoryRegisteredServiceLocator(strategy,
            FileUtils.getTempDirectory(), new GitServiceRegistryProperties().setRootDirectory("sample-root"));
        val service = RegisteredServiceTestUtils.getRegisteredService();
        val file = locator.determine(service, "json");
        assertTrue(file.getCanonicalPath().endsWith("sample-root" + File.separator + service.getFriendlyName() + File.separator + strategy.build(service, "json")));
    }
This is {@link TypeAwareGitRepositoryRegisteredServiceLocatorTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-git-service-registry/src/test/java/org/apereo/cas/locator/TypeAwareGitRepositoryRegisteredServiceLocatorTests.java