Metric { public int getCount() { return count; } Metric(String name, int count, double total, double low, double high, double mean, double stddev); String getMetricName(); double getLowValue(); double getHighValue(); double getAverage(); double getStandardDeviation(); int getCount(); double getTotal();  }
@Test public void testGetCount() { int count = random.nextInt(); Metric metric = new Metric(testName, count, 0.0, 0.0, 0.0, 0.0, 0.0); assertEquals(count, metric.getCount()); }