Re: how to test session/request scopes ?

2009-06-13 Thread naaka
Scope); > > //after tests > myMockScope.assertThatThingsWereScoped(); > > Btw, this is a very heavyweight way of testing, so I assume this is not > something you need to do often. > good luck! > > Dhanji. > > On Fri, Jun 12, 2009 at 9:18 AM, naaka wrote: > > > hi, > > i tried ou

how to test session/request scopes ?

2009-06-12 Thread naaka
hi, i tried out google guice and it looks great. i have tdd-ed a small spike with persistence and singleton/no scopes and every worked fine. now i have added the servlet-guice extension, and changed a class to session scope, but my test complaint: com.google.inject.ProvisionException: Guice pro