@Test
    void verifyDefaultTransition() {
        val registry = mock(FlowDefinitionRegistry.class);
        val cfg = new AbstractCasWebflowConfigurer(mock(FlowBuilderServices.class),
            registry, new StaticApplicationContext(), new CasConfigurationProperties()) {
        };
        val state = mock(TransitionableState.class);
        when(state.getId()).thenReturn("example");
        assertDoesNotThrow(() -> cfg.createStateDefaultTransition(null, "target"));
        assertDoesNotThrow(() -> cfg.createStateDefaultTransition(null, state));
    }
This is {@link CasWebflowConfigurerTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-webflow/src/test/java/org/apereo/cas/web/flow/configurer/CasWebflowConfigurerTests.java