@Override
    public void resetLocal() {
        this.max = Integer.MIN_VALUE;
    }
@Test
    void testResetLocal() {
        IntMaximum max = new IntMaximum();
        int value = 13;

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

        max.resetLocal();
        assertThat(max.getLocalValue().intValue()).isEqualTo(Integer.MIN_VALUE);
    }