@Test
    void verifyOperation() throws Throwable {
        val repo = mock(OidcWebFingerUserInfoRepository.class);
        when(repo.findByEmailAddress(anyString())).thenCallRealMethod();
        when(repo.findByUsername(anyString())).thenCallRealMethod();
        when(repo.getName()).thenCallRealMethod();

        assertTrue(repo.findByEmailAddress("cas").isEmpty());
        assertTrue(repo.findByUsername("cas").isEmpty());
        assertNotNull(repo.getName());
    }
This is {@link OidcWebFingerUserInfoRepositoryTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/discovery/webfinger/OidcWebFingerUserInfoRepositoryTests.java