I am writing a class that extends AbstractXmlFlowExecutionTests to test this view-state:
I want the JUnit test to ensure that the list of required fields in the binder does not change. Is it possible to access the binder to check required properties? I can call getFlow().getState("signup"), but there doesn't appear to be any object here that contains that binder. Is there a different strategy for testing required values in Spring Web Flow?
<view-state id="signup" model="signupForm">
<!-- set required fields and white-list -->
<binding property="firstName" required="true"/>
<transition on="submit" to="finished"/>
<transition on="cancel" to="end" bind="false" validate="false"/>