@Test
    final void testPutIdentifierUntypedValue() {
        UntypedMetric v = new UntypedMetric(null);
        v.add(2);
        bucket.put(new Sample(new Measurement(3), new Identifier("nalle", null), AssumedType.GAUGE));
        bucket.put(new Identifier("nalle", null), v);
        assertEquals(1, bucket.entrySet().size());
        // check raw overwriting
        Entry<Identifier, UntypedMetric> stored = bucket.entrySet().iterator().next();
        assertEquals(new Identifier("nalle", null), stored.getKey());
        assertTrue(stored.getValue().isCounter());
    }
Functional tests for the value buckets, as implemented in the class Bucket,
and by extension the value store itself, UntypedValue.

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