@Override
    public void resetLocal() {
        this.max = Long.MIN_VALUE;
    }
@Test
    void testResetLocal() {
        LongMaximum max = new LongMaximum();
        long value = 9876543210L;

        max.add(value);
        assertThat(max.getLocalValue().longValue()).isEqualTo(value);

        max.resetLocal();
        assertThat(max.getLocalValue().longValue()).isEqualTo(Long.MIN_VALUE);
    }