### Question:
HelidonHistogram extends MetricImpl implements Histogram { @Override public Snapshot getSnapshot() { return delegate.getSnapshot(); } private  HelidonHistogram(String type, Metadata metadata, Histogram delegate); @Override void update(int value); @Override void update(long value); @Override long getCount(); @Override Snapshot getSnapshot(); @Override void prometheusData(StringBuilder sb, MetricID metricID, boolean withHelpType); @Override String prometheusValue(); @Override void jsonData(JsonObjectBuilder builder, MetricID metricID); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test void testDataSet() { assertAll("For our sample size, all data must be available", () -> assertThat(histoInt.getSnapshot().getValues(), is(Arrays.stream(SAMPLE_INT_DATA).asLongStream().toArray())), () -> assertThat(delegatingHistoInt.getSnapshot().getValues(), is(Arrays.stream(SAMPLE_INT_DATA).asLongStream().toArray())), () -> assertThat(histoLong.getSnapshot().getValues(), is(SAMPLE_LONG_DATA)), () -> assertThat(delegatingHistoLong.getSnapshot().getValues(), is(SAMPLE_LONG_DATA)) ); }
@Test void testStatisticalValues() { testSnapshot(1, "integers", histoInt.getSnapshot(), 50.6, 29.4389); testSnapshot(1, "delegating integers", delegatingHistoInt.getSnapshot(), 50.6, 29.4389); testSnapshot(10, "longs", histoLong.getSnapshot(), 506.3, 294.389); testSnapshot(10, "delegating longs", delegatingHistoLong.getSnapshot(), 506.3, 294.389); }