I am trying to create tests for a Tapestry application that injects various services into page classes. How can I tell Tapestry to use mock services inside of my tests? For example, I have a page that displays some data from the database. This page doesn’t work because the database has no data at this point. I would like to be able to inject some mock data in order to let execution continue, but I can’t figure out how to access the services. I know about Creator, but a page that I create in a test won’t become part of the page pool, will it?
Thanks for your help, Rob -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006