Hi Eric :)

Override WicketApplication.newRequestCycle()

-Clint

On Fri, May 29, 2009 at 1:20 PM, Eric Weise <e...@roundpeg.com> wrote:

> Hi,
>
> Does anyone know a way to mock out calls to component.setResponsePage when
> unit testing?  This method causes me to not only mock out dependencies in
> the page I'm testing, but in the response page as well, which is a pain.  I
> thought that maybe I could extend RequestCycle and override the
> setResponsePage methods but I don't see how to make wicket use my extended
> request cycle.  Can this be done or is there another way?
>
> much thanks
> Eric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Clint Popetz
http://42lines.net
Scalable Web Application Development

Reply via email to