@Override
            public CredentialMetadata getCredentialMetadata() {
                return mock(CredentialMetadata.class);
            }
This is {@link MultifactorAuthenticationCredentialTests}.

@author Misagh Moayyed
@since 6.3.0
api/cas-server-core-api-mfa/src/test/java/org/apereo/cas/authentication/MultifactorAuthenticationCredentialTests.java