@Bean
        public SamlObjectSignatureValidator samlObjectSignatureValidator() throws Throwable {
            val mockValidator = mock(SamlObjectSignatureValidator.class);
            when(mockValidator.verifySamlProfileRequest(any(), any(MetadataResolver.class), any(), any())).thenReturn(Boolean.TRUE);
            when(mockValidator.verifySamlProfileRequest(any(), any(SamlRegisteredServiceMetadataAdaptor.class),
                any(), any(MessageContext.class))).thenReturn(Boolean.TRUE);
            return mockValidator;
        }
This is {@link SamlIdPMultifactorAuthenticationTriggerTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/web/idp/web/SamlIdPMultifactorAuthenticationTriggerTests.java