> How do you create a mock session for this websession? WicketTester creates a
> new instance of MockWebApplication which extends WebApplication and not my
> custom AuthenticatedWebApplication. This becomes troublesome because the
> constructor of my custom session takes a subclass of
> AuthenticatedWebApplication and not a subclass of WebApplication. How should
> I go about to test this?

Looks a bit tricky. I don't have a good answer tbh. If I were you I
would just create my own test classes that work for this particular
case. One big copy 'n paste action, and some effort in customizing it
that it works for you, but then at least you'll know it does exactly
what you want. Sorry,

Eelco

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to