Hi all,
does anyone know of some easy way of adding cookies to WicketTester prior to
having it visit page?
That is something along the line of
WicketTester wicketTester = new WicketTester(new
MyApplication());
Cookie cookie = new Cookie("name", "value");
/*
... insert code for adding cookie to request here ...
*/
wicketTester.startPage(FooPage.class);
wicketTester.assertRenderedPage(FooPage.class);
regards, Peter
--
View this message in context:
http://www.nabble.com/How-to-add-cookies-to-WicketTester--tp20733095p20733095.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]