@Override
    public Double getLocalValue() {
        if (this.count == 0) {
            return 0.0;
        }
        return this.sum / this.count;
    }
@Test
    void testGet() {
        AverageAccumulator average = new AverageAccumulator();
        assertThat(average.getLocalValue()).isCloseTo(0.0, within(0.0));
    }