void fini() {
        receiver = null;
        metricManager.deconstruct();
        metricManager = null;
        updater = null;
    }
Common code for running unit tests of simplemetrics

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