### Question:
Statistics { public BigDecimal average() { return new BigDecimal(values) .divide(new BigDecimal(counter), PRECISION); } Statistics(String meteringPointName); void addValue(long actual); BigDecimal average(); BigDecimal standardDeviation(); List<Average> getAverages(); long getCounter(); long getLast(); long getMaximum(); String getMeteringPointName(); long getMinimum(); long getValues(); static final String[] TITLES; }### Answer:
@Test public void testAverage() { assertThat(classUnderTests.average(), is(new BigDecimal(AVERAGE))); }