@Override
    public long getMin() {
        if (values.length == 0) {
            return 0;
        }
        return values[0];
    }
@Test
    public void calculatesTheMinimumValue() {
        assertThat(snapshot.getMin())
                .isEqualTo(1);
    }