@Test
    void verifyAnySerializeToJson() throws Throwable {
        val criteria = new AnyAuthenticationHandlerRegisteredServiceAuthenticationPolicyCriteria();
        criteria.setTryAll(true);
        verify(criteria);
    }
This is {@link DefaultRegisteredServiceAuthenticationPolicyTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/DefaultRegisteredServiceAuthenticationPolicyTests.java