public
classMockRequestContext
implements
RequestContext
Overview
Inheritance
Members
Usage
Source
Books
SinceNot specified.
VersionNot specified.
Author(s)Keith Donald, Erwin Vervaet
Mock implementation of the RequestContext interface to
facilitate standalone Action unit tests.
NOT intended to be used for anything but standalone unit tests. This is a
simple state holder, a stub implementation, at least if you follow Martin
Fowler's reasoning. This class is called MockRequestContext to
be consistent with the naming convention in the rest of the Spring framework
(e.g. MockHttpServletRequest, ...).
RequestContextinterface to facilitate standalone Action unit tests.NOT intended to be used for anything but standalone unit tests. This is a simple state holder, a stub implementation, at least if you follow Martin Fowler's reasoning. This class is called MockRequestContext to be consistent with the naming convention in the rest of the Spring framework (e.g. MockHttpServletRequest, ...).