The problem is that when PageTester creates the registry it does not adds SpringModuleDef to the list of modules and all Spring services are unavailable because of this. Extending the PageTester is not possible as well, so you cannot extend it and provide additional module (like the TapestrySpringFilter does), so you have to copy-paste the complete PageTester and add a single line to include SpringModuleDef module to the list.
I suggest adding the method similar to the TapestryFilter#provideExtraModuleDefs() to the PageTester.
|Status||Open [ 1 ]||Closed [ 6 ]|
|Fix Version/s||5.0.11 [ 12312968 ]|
|Resolution||Fixed [ 1 ]|
|Assignee||Howard M. Lewis Ship [ hlship ]|
|Workflow||jira [ 12413654 ]||Default workflow, editable Closed status [ 12568596 ]|
|Workflow||Default workflow, editable Closed status [ 12568596 ]||jira [ 12591633 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|159d 18h 54m||1||Howard M. Lewis Ship||02/Mar/08 23:29|