@Test
public void calculatesAMeanOfZeroForAnEmptySnapshot() throws Exception {

    final Snapshot emptySnapshot = new UniformSnapshot(new long[]{ });
    assertThat(emptySnapshot.getMean())
            .isZero();
}