org.springframework.webflow.test.package.html Maven / Gradle / Ivy
Support for testing flows and their associated artifacts.
When you want to unit test one of your flows the
{@link org.springframework.webflow.test.execution.AbstractFlowExecutionTests}
and associated subclasses class provide a base you can extend.
When unit testing flow artifacts such as actions in isolation, the
{@link org.springframework.webflow.test.MockRequestContext}
is of particular interest.
All mock implementations provided by this package are NOT intended to be used for
anything but standalone unit tests. They are simple state holders, stub implementations,
at least if you follow Martin
Fowler's reasoning. This class are called Mocks to be consistent with the naming
convention in the rest of the Spring framework (e.g. MockHttpServletRequest, ...).