// update stat
this.testFailAndCancel();
long now = System.currentTimeMillis();
final StatisticsImpl copy = new StatisticsImpl();
copy.copyFrom(this.stat);
assertTrue(copy.getStartTime() >= now);
assertEquals(400, copy.getAverageProcessingTime());
assertEquals(200, copy.getAverageWaitingTime());
assertEquals(0, copy.getNumberOfActiveJobs());
assertEquals(1, copy.getNumberOfCancelledJobs());