There's a number of unimplemented methods in
HttpSessionSimulator. It would be great if this class
could be subclassed, and then the subclass could be
used instead for those of us who need more functionalty
for getCreationTime(), getLastAccessedTime(),
getMaxInactiveInterval(), and other things.
A factory method to set the class of the created object
would make this much easier.
Currently, this can only be done by rewriting
MockStrutsTestCase and then creating a subclass of
In the same manner, it'd be good if
and ServletConfigSimulator could have factory classes
Log in to post a comment.