@Test
    void verifyOperation() throws Exception {
        val context = MockRequestContext.create();
        val rootFlow = context.getRootFlow();
        WebUtils.putTargetState(context, rootFlow.getStartState().getId());
        val resolver = new DynamicTargetStateResolver(rootFlow);
        val result = resolver.resolveTargetState(mock(Transition.class), mock(State.class), context);
        assertEquals(rootFlow.getStartState().getId(), result.getId());
    }
This is {@link DynamicTargetStateResolverTests}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-webflow-api/src/test/java/org/apereo/cas/web/flow/resolver/DynamicTargetStateResolverTests.java