@Test
public void testGetSeriesByType()
{

    // count(system, user, iowait, nice, idle) == 5
    assertEquals( 5, rhMetrics.getSeriesByType( SeriesBatch.SeriesType.CPU ).size() );
    // count(system, user) == 2
    assertEquals( 2, chMetrics.getSeriesByType( SeriesBatch.SeriesType.CPU ).size() );
    // count(Active, Buffers, MemFree, Cached) == 4
    assertEquals( 4, rhMetrics.getSeriesByType( SeriesBatch.SeriesType.MEMORY ).size() );
    // count(cache, rss) == 2
    assertEquals( 2, chMetrics.getSeriesByType( SeriesBatch.SeriesType.CPU ).size() );
    assertEquals( 15, rhMetrics.getSeriesByType( SeriesBatch.SeriesType.DISK ).size() );
}