@Override
  public Optional<Long> getValue() {
    if (initialized) {
      return Optional.of(value);
    }
    return Optional.empty();
  }
@Test
  public void no_value_when_no_aggregation() {
    assertThat(sumCounter.getValue()).isNotPresent();
  }