@Override
    public void accumulate(Object value) {
        if (value == null) {
            return;
        }

        if (this.value == null || compare(this.value, value) < 0) {
            this.value = value;
        }
    }
@Test
    public void test_serialization() {
        MaxSqlAggregation original = new MaxSqlAggregation();
        original.accumulate(1);

        InternalSerializationService ss = new DefaultSerializationServiceBuilder().build();
        MaxSqlAggregation serialized = ss.toObject(ss.toData(original));

        assertThat(serialized).isEqualToComparingFieldByField(original);
    }