@Test
    void verifyOperation() throws Throwable {
        val input = new MultifactorAuthenticationCredential() {
            @Serial
            private static final long serialVersionUID = -7854668847716061700L;

            @Override
            public String getId() {
                return UUID.randomUUID().toString();
            }

            @Override
            public CredentialMetadata getCredentialMetadata() {
                return mock(CredentialMetadata.class);
            }
        };
        input.setProviderId("nothing");
        assertNull(input.getProviderId());
    }
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