AccuracyAggregator implements CombinerAggregator<AccuracyState<L>> { @Override public AccuracyState<L> zero() { return new AccuracyState<L>(); }  @Override AccuracyState<L> init(TridentTuple tuple); @Override AccuracyState<L> combine(AccuracyState<L> val1, AccuracyState<L> val2); @Override AccuracyState<L> zero();  }
@Test public void should_init_zero_accuracy() { AccuracyState<Boolean> actualState = agrgegator.zero(); assertThat(actualState).isEqualTo(new AccuracyState<Boolean>(0, 0)); }