@Test
public void should_init_accuracy_with_error() {

	// Given
	Boolean label = true;
	Boolean prediction = false;
	Instance<Boolean> instance = mock(Instance.class);
	when(instance.getLabel()).thenReturn(label);
	TridentTuple tuple = mock(TridentTuple.class);
	when(tuple.getValue(0)).thenReturn(instance);
	when(tuple.getValue(1)).thenReturn(prediction);
	// When
	AccuracyState<Boolean> actualState = agrgegator.init(tuple);
	// Then
	assertThat(actualState).isEqualTo(new AccuracyState<Boolean>(1, 1));
}