public void testWallClock() {
StopWatch watch = new StopWatch();
gaps.setFitness(new SimpleFitness());
gaps.setNumIndividuals(NUM_OF_IND);
watch.start();
gaps.setAbortCriterion(new WallClockTimeAbort(MILLISECONDS));
gaps.portfolio(problemDescription);
watch.stop();
assertEquals(
"Test should run " + MILLISECONDS + " but runs "
+ watch.elapsedMilliseconds() + ".", MILLISECONDS,