private static Map<String, Set<String>> getRequiredAttributes() {
        val map = new HashMap<String, Set<String>>();
        map.put(CN, Stream.of(CAS, "SSO").collect(Collectors.toSet()));
        map.put(GIVEN_NAME, Stream.of("CAS", KAZ).collect(Collectors.toSet()));
        map.put(PHONE, Set.of("\\d\\d\\d-\\d\\d\\d-\\d\\d\\d"));
        return map;
    }
This is test cases for
{@link DefaultRegisteredServiceAccessStrategy}.

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