@Test
public void shouldComputeSum() {

    // given when
    AggregationResult result = new AggregationResult(Operator.SUM);
    aggregator.accept(getRow("toto", "514.3"), result);
    aggregator.accept(getRow("toto", "0"), result);
    aggregator.accept(getRow("toto", ""), result);
    aggregator.accept(getRow("toto", "-786.25"), result);
    aggregator.accept(getRow("toto", "235874"), result);
    aggregator.accept(getRow("toto", "-8760"), result);
    // then
    Assert.assertEquals(result.get("toto").getValue(), 226842.05, 0);
}