create a special test page that throws a RestartResponseAtInterceptPageException with the page you want to test.
-igor On Sun, Nov 20, 2011 at 6:29 AM, kamiseq <[email protected]> wrote: > hej, > Im a bit stuck, I tried to search something but all resources points to > older version and it seems that in 1.5 a lot ve changed. > > I have a page that does its work and then continueToOriginalDestination or > it this returns false do some more stuff. > unit testing the case when it returns false was easy ;] but now I try to > figure out how to test that my code calls continueToOriginalDestination and > tries to redirect. > > I tried this > http://www.mail-archive.com/[email protected]/msg09904.html > > but this was for wicket 1.3 > > pozdrawiam > Paweł Kamiński > > [email protected] > [email protected] > ______________________ > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
