Hi all,

until now I used MockRoundtrip for testing my ActionBeans. This went
fine although my beans usually had some Spring-injected services. But as
long as they were valid Spring beans, every worked fine.

Now while developing, I don't always have a concrete implementation of
the services that I am planning to be injected in the ActionBeans, so I
want the bean use a stub (created by Mockito) instead of a real class.
But that seems to be a problem: I see no way to get the stub in the
ActionBean because it is created on trip.execute().

Any idea how I can use my stub in the ActionBean when using MockRoundtrip?

Kind regards,
Marcus

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to