private static void verifyFileNamePattern(final Pattern pattern, final String name) {
        val matcher = pattern.matcher(name);
        assertTrue(matcher.find());
        assertNotNull(matcher.group(1));
        assertNotNull(matcher.group(2));
    }
This is {@link DefaultRegisteredServiceResourceNamingStrategyTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-services-registry/src/test/java/org/apereo/cas/services/resource/DefaultRegisteredServiceResourceNamingStrategyTests.java