@Test
    void verifyOperation() throws Exception {
        val attributes = CollectionUtils.<String, Object>wrap("email", "casuser@example.org");
        assertDoesNotThrow(() -> multifactorAuthenticationService.update(RegisteredServiceTestUtils.getPrincipal(), attributes));
        assertTrue(attributes.containsKey("updated"));
    }
This is {@link DefaultCasSimpleMultifactorAuthenticationServiceTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-simple-mfa/src/test/java/org/apereo/cas/mfa/simple/validation/DefaultCasSimpleMultifactorAuthenticationServiceTests.java