On Sat, May 16, 2009 at 2:39 PM, nino martinez wael
<nino.martinez.w...@gmail.com> wrote:
> you can mock statict classes with power mock , but i'vé come to the
> konklusion that it is a code smell going that way ioc are much better.

Right, I didn't say it was impossible.  I said it would be more
difficult.  Dependency injection is definitely the best way to go, but
the "lookupable" services on the application object would work also
(how those service implementations get initialized is a different
story, though).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to