@Test public void shouldBeEmptyWhenKeysIsEmpty() { MetricClassification classification = new MetricClassification(Lists.<String>newLinkedList(), metricClassificationTestCases.completeTestCase(5d)); Map<String, List<Metric>> map = classification.getClassification(); Assert.assertEquals(0, map.size()); }
public Map<String, List<Metric>> getClassification() { return this.classification; }
MetricClassification { public Map<String, List<Metric>> getClassification() { return this.classification; } }
MetricClassification { public Map<String, List<Metric>> getClassification() { return this.classification; } MetricClassification(List<String> keys, List<Metric> sample); }
MetricClassification { public Map<String, List<Metric>> getClassification() { return this.classification; } MetricClassification(List<String> keys, List<Metric> sample); Map<String, List<Metric>> getClassification(); List<Metric> getMetrics(String key); Set<String> getKeys(); }
MetricClassification { public Map<String, List<Metric>> getClassification() { return this.classification; } MetricClassification(List<String> keys, List<Metric> sample); Map<String, List<Metric>> getClassification(); List<Metric> getMetrics(String key); Set<String> getKeys();  }