Message is a value object for messages during task runtime.
These messages could be transferred to the wicket user interface later.
159160161162163164165166167168169
@Test public void testProgressBar() { final Integer[] data = new Integer[]{0}; Task task = new Task() { @Override public void run() { for(int i = 0; i < 2; i++) { data[0]++; updateProgress(i, 2);