if (t1 < 1)
fail("TimeSinceReset should be greater than 0 seconds.");
Thread.sleep(1000);
// now reset the statistics (node count and attribute count aren't affected)
mgmt.resetStatistics();
// check times again
t1 = mgmt.getElapsedTime();
if (t1 < 2)
fail("ElapsedTime after reset should be greater than 1 second.");