@Test
    final void testPutSampleWithUnsupportedType() {
        boolean caughtIt = false;
        try {
            bucket.put(new Sample(new Measurement(1), new Identifier("nalle", null), AssumedType.NONE));
        } catch (Exception e) {
            caughtIt = true;
        }
        assertTrue(caughtIt);
    }
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