public MetricReceiver getReceiver() {
        return receiver;
    }
Common code for running unit tests of simplemetrics

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