Package org.springframework.webflow.test


package org.springframework.webflow.test
Support for testing flows and their associated artifacts.

When you want to unit test one of your flows the AbstractFlowExecutionTests and its associated subclasses provide a base you can extend.

When unit testing flow artifacts such as actions in isolation, the 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. These classes are called Mocks to be consistent with the naming convention in the rest of the Spring framework (e.g. MockHttpServletRequest, ...).