Re: Testify @ForComponent

2009-07-20 Thread Juan E. Maya
AJA! :) Thanks a lot Paul! I was using the AbstractClass but when copying the code in the email i removed it :) I thought it was not so important. Bad ME :) The problem in this case, as u pointed out, was indeed caused by the @BeforeMethod. Thanks a lot! Good point with the orchestration. Testify

Re: Testify @ForComponent

2009-07-20 Thread Paul Field
Hi Juan, > I am trying to inject a service to one component using testifiy's > @ForComponent annotation and Mockito but the component doesn't get the > mocked service injected. I think you have invalidated the warranty on Testify ;-) It is important to make sure your tests are setup using the in

Testify @ForComponent

2009-07-20 Thread Juan E. Maya
I am trying to inject a service to one component using testifiy's @ForComponent annotation and Mockito but the component doesn't get the mocked service injected. My test looks like this: private static final TapestryTester TESTER = new TapestryTester("com.rinco.security", "rincoSecurity", "s