@Override
    public long getMin() {
        if (values.length == 0) {
            return 0;
        }
        return values[0];
    }
@Test
    public void calculatesAMinOfZeroForAnEmptySnapshot() throws Exception {
        final Snapshot emptySnapshot = new UniformSnapshot(new long[]{ });

        assertThat(emptySnapshot.getMin())
                .isZero();
    }