@Test
public void testAggregateEmitted() {

    TopologyTimeSeriesMetrics.TimeSeriesComponentMetric metric = getTestMetric();
    long actual = ComponentMetricSummary.aggregateEmitted(metric);
    // 20 + 40
    long expected = 60;
    Assert.assertEquals(expected, actual);
}