@Test
        void verifyUpdate() throws Throwable {
            val requestContext = buildRequestContextFor(RegisteredServiceTestUtils.getPrincipal("casuser"));
            requestContext.setParameter("email", "cas@example.org");
            var event = mfaSimpleMultifactorVerifyEmailAction.execute(requestContext);
            assertEquals(CasWebflowConstants.TRANSITION_ID_SUCCESS, event.getId());
            val token = (CasSimpleMultifactorAuthenticationTicket) event.getAttributes().get("result");
            requestContext.setParameter("token", token.getId());
            event = mfaSimpleMultifactorUpdateEmailAction.execute(requestContext);
            assertEquals(CasWebflowConstants.TRANSITION_ID_RESUME, event.getId());
        }
This is {@link CasSimpleMultifactorUpdateEmailActionTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-simple-mfa/src/test/java/org/apereo/cas/mfa/simple/web/flow/CasSimpleMultifactorUpdateEmailActionTests.java