@Test
public void testAggregateFailed() {

    TopologyTimeSeriesMetrics.TimeSeriesComponentMetric metric = getTestMetric();
    long actual = ComponentMetricSummary.aggregateFailed(metric);
    // 1 + 2
    long expected = 3;
    Assert.assertEquals(expected, actual);
}