assertEquals(30, result.getY());
}
@Test
public void AveragingAggregagtor_Produces_Average() {
AveragingAggregator aggregator = new AveragingAggregator(measurements);
Measurement result = aggregator.aggregate();
assertEquals(35, result.getX());
assertEquals(10, result.getY());
}