Hi,
you can override BaseWicketTester#createPage(), returning your own page
(might be a subclass of StartComponentInPage) which records all events
handed to Component#onEvent().
Regards
Sven
On 22.11.2015 12:37, calle sollander wrote:
Hello!I have a question about how to test that an IEvent has been sent.
Say that I have a Panel with a AjaxLink on it and depending on something or
other diffrentevents are sent when the user clicks the link.Is there a way to
set up a unit test using the Wickettester that can detect which events are sent?
Regards Calle S
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org