* Craig Lenzen: > I'm looking for some feedback as to an issue I'm having with the > WicketTester. To start I'd like to point out that I'm using > Spring and injecting my pages / components via the wicket spring > project's component injector. > > Here is the situation, I have page A that has a link to page B. > In the test of page A I test that the click in fact goes to page > B. This is fine but the problem is, is that page B relies on a > Spring service during its construction and the fact that the > WicketTester actually tries to render page B which calls the > service.
And is the service properly injected by the component instantiation listener? Have you setup Spring for your tests? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user