...
The idp-conf Maven module, which includes most of the as-delivered configuration files that end up in the distribution, includes TestNG unit tests that exercise many of the webflows, but without using a browser (so just programmatically with mock objects).
The tests in extend AbstractFlowTest, which is responsible for :
- creating Creating mock objects such as HttpServletRequest, HttpServletResponse, and the Spring Web Flow ExternalContext
- overriding Overriding flows to return the OpenSAML ProfileRequestContext as a Spring Web Flow output attribute
...