Re: Empy choices durring unit tests with DropDownChoice

2013-06-18 Thread martin.dilger
that gets Populated on Selection, try this. You should further check whether you service has been called Mockito.verify(myService).getChoicesList() -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Empy-choices-durring-unit-tests-with-DropDownChoice-tp4659540p4659583.html

Re: Empy choices durring unit tests with DropDownChoice

2013-06-18 Thread Dmitriy Neretin
() -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Empy-choices-durring-unit-tests-with-DropDownChoice-tp4659540p4659583.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e

Empy choices durring unit tests with DropDownChoice

2013-06-17 Thread Dmitriy Neretin
Hi everyone! I have a little problem. When I unit test a wicket panel with a DropDownChoice I can't get the choices list into dropdown... So, that is how I use it: a) ... new DropDownChoice(aWicketId, new ChoicesModel.getObject(), myOwnChoicesRenderer) b) The choices Model ist a