### Question:
TimelineMetricsHolder { public static TimelineMetricsHolder getInstance(int rawCacheExpireTime, int aggregationCacheExpireTime, List<String> skipAggregationPatternStrings) { if (instance == null) { instance = new TimelineMetricsHolder(rawCacheExpireTime, aggregationCacheExpireTime, skipAggregationPatternStrings); } return instance; } private  TimelineMetricsHolder(int rawCacheExpireTime, int aggregationCacheExpireTime, List<String> skipAggregationPatternStrings); static TimelineMetricsHolder getInstance(int rawCacheExpireTime, int aggregationCacheExpireTime, List<String> skipAggregationPatternStrings); static TimelineMetricsHolder getInstance(); void putMetricsForAggregationPublishing(TimelineMetrics timelineMetrics); Map<String, TimelineMetrics> extractMetricsForAggregationPublishing(); void putMetricsForRawPublishing(TimelineMetrics metrics); Map<String, TimelineMetrics> extractMetricsForRawPublishing();  }### Answer:
@Test public void testGetInstanceDefaultValues() throws Exception { clearHolderSingleton(); Assert.assertNotNull(TimelineMetricsHolder.getInstance()); }
@Test public void testGetInstanceWithParameters() throws Exception { clearHolderSingleton(); Assert.assertNotNull(TimelineMetricsHolder.getInstance(1,2, Collections.EMPTY_LIST)); }