Hi, I had some troubles recently to setup custom ISessionStore and IPageManager for some tests. The problem is that BaseWicketTester overrides anything already setup in MyApp#init() with the inmemory/mock impls. I suggest to move all these inmemory/mock impls in MockApplication#init() and all tests that use "new WicketTester()" will use those. All user's tests will have to override UserApp#init() for the tests if they prefer any inmemory/mock impl, otherwise they will use the default impl provided by Wicket (depends on DEPLOYMENT or DEVELOPMENT mode). This way they will be more close to the real environment and can setup inmemory impl *only* if they decide so.
The only exception are IPageRendererProvider and IRequestCycleProvider which has to be special for WicketTester. WDYT ? -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com
