@Test
public void calculatesAMinOfZeroForAnEmptySnapshot() {

    final Snapshot emptySnapshot = new WeightedSnapshot(
            weightedArray(new long[]{}, new double[]{}));
    assertThat(emptySnapshot.getMin())
            .isZero();
}