@Test
    void verifyOperation() throws Exception {
        val context = MockRequestContext.create(applicationContext);
        val state = new EndViewState(new Flow("flow"), "end", new ActionExecutingViewFactory(ConsumerExecutionAction.OK));
        state.enter(context);
        assertTrue(context.getFlowExecutionContext().hasEnded());
    }
This is {@link EndViewStateTests}.

@author Misagh Moayyed
@since 7.2.0
core/cas-server-core-webflow-api/src/test/java/org/apereo/cas/web/flow/states/EndViewStateTests.java