class mockwebapp extends webapplication { newsession() { return new
mockwebsession(); }}

new WicketTester(new mockwebapp());

-igor

On Dec 19, 2007 8:11 AM, Ravi_116 <[EMAIL PROTECTED]> wrote:
>
> Igor,
> Thanks for the reply. How can i set the MockWebSession on the session object
> ? Is there an api available through wicket tester to set mockwebsession ?
> Ravi
>
> --
> View this message in context: 
> http://www.nabble.com/Accessing-username-from-Page---Unit-test-tp14411574p14419916.html
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to