I am trying to unit test a DropDownChoice that is not part of a form and does
not use AJAX.
I have tried something like:

wicketTester.getServletRequest().setParameter(ddc.getInputName(), "0");
wicketTester.executeListener(ddc);

which causes the DropDownChoice model to fire its setObject method but
its input object is always null.

Any ideas on the best way to do this testing?

Thanks.

-- 
View this message in context: 
http://old.nabble.com/Wicket-tests-without-FormTester-tp22609725p27782522.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to