hi,

found the solution, should have been:

expect(session.save(anyObject())).andReturn(null);

another question is, TapestryTestCase has replay(), verify(), but don't have
reset(), how to reset mock objects under TapestryTestCase? 

Thanks,

A.C.




Angelo Chen wrote:
> 
> 
>         expect(session.save(new Usr())).andReturn(null); // is this
> correct way to specify expectation?
> 
>   
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-TapestryTestCase-newbie-tp14990341p15011702.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to