Mats Henricson <m...@henricson.se> wrote on 07/09/2009 12:48:39: > I am really close to get my Testify machinery working for > my first non-trivial page. The last hurdle (touch on wood) > is that the @ForComponents annotation doesn't inject my > mock object in fields annotated with @SessionState.
I wouldn't expect you to use mock objects with @SessionState. Tapestry's PageTester (on which Testify is built) runs with a fake session so is able to store session information during your test. So I would expect @SessionState to work as it does in a live site. However, I haven't actually tried it - so I could be wrong. Paul --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures.