TestProblemHandler handler = new TestProblemHandler(pb, integ);
integ.setSafety(0.8);
integ.setMaxGrowth(5.0);
integ.setMinReduction(0.3);
integ.addStepHandler(handler);
integ.integrate(pb,
pb.getInitialTime(), pb.getInitialState(),
pb.getFinalTime(), new double[pb.getDimension()]);
assertEquals(0.8, integ.getSafety(), 1.0e-12);
assertEquals(5.0, integ.getMaxGrowth(), 1.0e-12);
assertEquals(0.3, integ.getMinReduction(), 1.0e-12);