@Override
    public void set(String key, Number val, Context ctx) { addInvocations.put(key, new Invocation(val, ctx)); }
Simple mock for use whne testing metrics.

@author bjorncs
container-core/src/test/java/com/yahoo/container/test/MetricMock.java