boolean hasIdentifier(Identifier id) {
        return values.containsKey(id);
    }
@Test
    final void testHasIdentifier() {
        for (int i = 0; i < 4; ++i) {
            bucket.put(new Sample(new Measurement(i), new Identifier("nalle_" + i, new Point(
                            new ImmutableMap.Builder<String, Integer>().put(String.valueOf(i), Integer.valueOf(i)).build())),
                    AssumedType.GAUGE));
        }
        for (int i = 0; i < 4; ++i) {
            assertTrue(bucket.hasIdentifier(new Identifier("nalle_" + i, new Point(new ImmutableMap.Builder<String, Integer>().put(
                    String.valueOf(i), Integer.valueOf(i)).build()))));
        }
    }