@Test
    void verifyOperationFilterWithoutOpenId() throws Throwable {
        val service = getOidcRegisteredService(UUID.randomUUID().toString());
        val accessToken = mock(OAuth20AccessToken.class);
        val original = CoreAuthenticationTestUtils.getPrincipal();
        assertFalse(original.getAttributes().isEmpty());
        val principal = profileScopeToAttributesFilter.filter(CoreAuthenticationTestUtils.getService(), original, service, accessToken);
        assertEquals(original, principal);
        assertTrue(principal.getAttributes().isEmpty());
    }
This is {@link OidcProfileScopeToAttributesFilterTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/profile/OidcProfileScopeToAttributesFilterTests.java