@Test
    void verifyMissingToken() throws Exception {
        val context = MockRequestContext.create(applicationContext);
        val event = riskCheckAction.execute(context);
        assertEquals(CasWebflowConstants.TRANSITION_ID_ERROR, event.getId());
    }
This is {@link RiskAuthenticationCheckTokenActionTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-electrofence/src/test/java/org/apereo/cas/web/flow/RiskAuthenticationCheckTokenActionTests.java