Re: unit testing Tapestry Services (5.4)

2015-05-27 Thread Lance Java
The ApplicationStateManager is injected by TapestryModule.class you will either need to add this module to the registry or mock the service in a test module (eg using mockito). Or, you might choose to split your own module into smaller logical groups (eg core and web) for easier testing. You

unit testing Tapestry Services (5.4)

2015-05-27 Thread Sumanth
Hi All, I'm trying to unit test services (these are already existing services) and facing a few challenges. I have a ProjectService which extends a baseService and this base service has another service which is injected into it. Interface IProjectService { Event getEvents(Long key) }