@Override
    public void merge(Accumulator<Long, Long> other) {
        this.min = Math.min(this.min, other.getLocalValue());
    }
@Test
    void testMerge() {
        LongMinimum min1 = new LongMinimum();
        min1.add(1234567890987654321L);

        LongMinimum min2 = new LongMinimum();
        min2.add(5678909876543210123L);

        min2.merge(min1);
        assertThat(min2.getLocalValue().longValue()).isEqualTo(1234567890987654321L);

        min1.merge(min2);
        assertThat(min1.getLocalValue().longValue()).isEqualTo(1234567890987654321L);
    }