Re: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

2013-02-12 Thread Remi VANKEISBELCK
://stackoverflow.com/questions/10045466/how-to-fake-initialcontext-with-default-constructor. Date: Mon, 11 Feb 2013 10:18:05 -0800 From: d...@mirthcorp.com To: stripes-users@lists.sourceforge.net Subject: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

Re: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

2013-02-12 Thread Dan Kaplan
. -- Date: Mon, 11 Feb 2013 10:18:05 -0800 From: d...@mirthcorp.com To: stripes-users@lists.sourceforge.net Subject: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip I read about using the MockRoundtrip here: http://www.stripesframework.org

Re: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

2013-02-12 Thread Dan Kaplan
. -- Date: Mon, 11 Feb 2013 10:18:05 -0800 From: d...@mirthcorp.com To: stripes-users@lists.sourceforge.net Subject: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip I read about using the MockRoundtrip here: http://www.stripesframework.org

[Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

2013-02-11 Thread Dan Kaplan
I read about using the MockRoundtrip here: http://www.stripesframework.org/display/stripes/Unit+Testing The problem I have is a few of my ActionBean's fields are EJBs that get populated from the app server. How can I use dependency injection on the action bean's fields? mockRoundtrip = new

Re: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

2013-02-11 Thread Jocke Eriksson
on action beans when I use MockRoundtrip I read about using the MockRoundtrip here: http://www.stripesframework.org/display/stripes/Unit+Testing The problem I have is a few of my ActionBean's fields are EJBs that get populated from the app server. How can I use dependency injection

Re: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

2013-02-11 Thread Dan Kaplan
...@mirthcorp.com To: stripes-users@lists.sourceforge.net Subject: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip I read about using the MockRoundtrip here: http://www.stripesframework.org/display/stripes/Unit+Testing The problem I have is a few of my

Re: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip

2013-02-11 Thread Dan Kaplan
. -- Date: Mon, 11 Feb 2013 10:18:05 -0800 From: d...@mirthcorp.com To: stripes-users@lists.sourceforge.net Subject: [Stripes-users] Using dependency injection on action beans when I use MockRoundtrip I read about using the MockRoundtrip here: http://www.stripesframework.org/display