@Test
    void verifyViewBinder() {
        val registry = mock(FlowDefinitionRegistry.class);
        val fbs = mock(FlowBuilderServices.class);
        val cfg = new AbstractCasWebflowConfigurer(fbs,
            registry, new StaticApplicationContext(), new CasConfigurationProperties()) {
        };
        val state = mock(ViewState.class);
        when(state.getViewFactory()).thenReturn(new ServletMvcViewFactory(mock(Expression.class), mock(FlowViewResolver.class),
            mock(ExpressionParser.class), mock(ConversionService.class),
            mock(BinderConfiguration.class), mock(MessageCodesResolver.class)));
        assertNotNull(cfg.getViewStateBinderConfiguration(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