private void populateSingleValue(String metricName, Bucket bucket, int i) {
        Map<String, Integer> m = new TreeMap<>();
        m.put(String.valueOf(i), Integer.valueOf(i));
        Point p = new Point(m);
        Identifier id = new Identifier(metricName, p);
        Sample x = new Sample(new Measurement(Double.valueOf(i)), id, AssumedType.GAUGE);
        bucket.put(x);
    }
Functional test for point persistence layer.

@author Steinar Knutsen
container-core/src/test/java/com/yahoo/metrics/simple/DimensionsCacheTest.java