@Test
public void shouldGetMeanObservation()
{
final long[] INTERVALS = new long[]{ 1, 10, 100, 1000, 10000 };
final Histogram histogram = new Histogram(INTERVALS);
addObservations(histogram, 1L, 7L, 10L, 10L, 11L, 144L);
assertThat(histogram.getMean(), is(new BigDecimal("32.67")));
}