final Long taskId = taskService.schedule(task);
@SuppressWarnings("unused")
Panel progressBar = tester.startPanel(new TestPanelSource() {
public Panel getTestPanel(String panelId) {
return new ProgressBar(panelId, new ProgressionModel() {
@Override
protected Progression getProgression() {
return taskService.getProgression(taskId);
}
});