@Test
    void verifyOperation() {
        val accountFlow = (Flow) this.flowDefinitionRegistry.getFlowDefinition(CasWebflowConfigurer.FLOW_ID_ACCOUNT);
        assertNotNull(accountFlow);
        val state = (ViewState) accountFlow.getState(CasWebflowConstants.STATE_ID_MY_ACCOUNT_PROFILE_VIEW);
        assertNotNull(state);

        val definition = state.getTransition("deleteTrustedDevice");
        assertNotNull(definition);

        val actionState = (ActionState) accountFlow.getState("deleteMultifactorTrustedDevice");
        assertNotNull(actionState);
        assertNotNull(actionState.getTransition(CasWebflowConstants.STATE_ID_SUCCESS));
        assertNotNull(actionState.getTransition(CasWebflowConstants.TRANSITION_ID_ERROR));
    }
This is {@link MultifactorAuthenticationTrustedDeviceAccountProfileWebflowConfigurerTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-trusted-mfa/src/test/java/org/apereo/cas/trusted/web/flow/MultifactorAuthenticationTrustedDeviceAccountProfileWebflowConfigurerTests.java