@Override
    public Context createContext(Map<String, ?> properties) {
        return properties == null ? MapContext.empty : new MapContext(properties);
    }
Metric implementation for tests.

@author jonmv
jdisc_core/src/main/java/com/yahoo/jdisc/test/MockMetric.java