@Test
    void verifyOperation() throws Throwable {
        val principal = RegisteredServiceTestUtils.getPrincipal();
        val input = profileScopeToAttributesFilter.filter(
            RegisteredServiceTestUtils.getService(),
            principal,
            RegisteredServiceTestUtils.getRegisteredService(),
            mock(OAuth20AccessToken.class));
        assertEquals(input, principal);
        assertTrue(profileScopeToAttributesFilter.getAttributeReleasePolicies().isEmpty());
    }
This is {@link DefaultOAuth20ProfileScopeToAttributesFilterTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/profile/DefaultOAuth20ProfileScopeToAttributesFilterTests.java