@Test
        void verifyOperation() {
            val mapper = new OidcDefaultAttributeToScopeClaimMapper(Map.of());

            val service = getOidcRegisteredService();
            val policy = new OidcProfileScopeAttributeReleasePolicy();
            policy.setClaimMappings(Map.of("name", "givenName"));
            service.setAttributeReleasePolicy(policy);

            assertTrue(mapper.containsMappedAttribute("name", service));
            assertEquals("givenName", mapper.getMappedAttribute("name", service));
        }
This is {@link OidcDefaultAttributeToScopeClaimMapperTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/claims/OidcDefaultAttributeToScopeClaimMapperTests.java