@Test
    void verifyOperation() {
        val policy = mock(RegisteredServiceDelegatedAuthenticationPolicy.class);
        when(policy.isProviderAllowed(anyString(), any())).thenCallRealMethod();
        assertTrue(policy.isProviderAllowed("hello", mock(RegisteredService.class)));
    }
This is {@link RegisteredServiceDelegatedAuthenticationPolicyTests}.

@author Misagh Moayyed
@since 6.3.0
api/cas-server-core-api-services/src/test/java/org/apereo/cas/services/RegisteredServiceDelegatedAuthenticationPolicyTests.java