@Test
    void verifyOperation() throws Exception {
        val context = MockRequestContext.create(applicationContext);
        context.setRequestAttribute("_eventId", "continue")
            .setRequestAttribute("name", "Bob")
            .setRequestAttribute("token", "ABC")
            .setRequestAttribute("accountId", "1000");

        val model = new Model();
        context.getCurrentState().getAttributes().put("model", new StaticExpression(model));

        val binderConfiguration = new BinderConfiguration();
        binderConfiguration.addBinding(new BinderConfiguration.Binding("name", null, true));
        binderConfiguration.addBinding(new BinderConfiguration.Binding("token", null, true));
        binderConfiguration.addBinding(new BinderConfiguration.Binding("accountId", null, true));
        
        val factory = viewFactoryCreator.createViewFactory(new LiteralExpression("login"),
            flowBuilderServices.getExpressionParser(), flowBuilderServices.getConversionService(),
            binderConfiguration, mock(Validator.class), new BeanValidationHintResolver());
        val view = factory.getView(context);
        assertNotNull(view);
        assertTrue(view.userEventQueued());

        view.processUserEvent();
        assertEquals("Bob", model.getName());
        assertEquals("ABC", model.getToken());
        assertEquals(1000, model.getAccountId());
        
    }
This is {@link CasMvcViewFactoryCreatorTests}.

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