@Override
    public void accept(final MeterEntity entity, final DataTable value) {
        setEntityId(entity.id());
        setServiceId(entity.serviceId());
        this.value.setMaxValue(value);
    }
@Test
    public void testAccept() {
        function.accept(MeterEntity.newService("service-test", Layer.GENERAL), HTTP_CODE_COUNT_1);
        assertThat(function.getValue()).isEqualTo(HTTP_CODE_COUNT_1);

        function.accept(MeterEntity.newService("service-test", Layer.GENERAL), HTTP_CODE_COUNT_2);
        assertThat(function.getValue()).isEqualTo(HTTP_CODE_COUNT_3);
    }