示例#1
0
 @Test
 public void testToString() {
   Metric m = new Metric();
   String value = m.toString();
   assertNotNull(value);
   assertFalse(value.isEmpty());
 }
 private void logMetrics() {
   for (Metric m : metrics.values()) log.info(m.toString());
 }