@Override
        public Bucket createGenerationInstance(Bucket previous) {
            if (hasBeenAccessed) {
                gotData.countDown();
            }
            return super.createGenerationInstance(previous);
        }
Common code for running unit tests of simplemetrics

@author ean
container-core/src/main/java/com/yahoo/metrics/simple/UnitTestSetup.java