@Test public void testGetMetrics() { Stream<Metric> metricsStream = converter.getMetrics(meter); List<Metric> metrics = metricsStream.collect(Collectors.toList()); assertResult(metrics); }
abstract public Stream<Metric> getMetrics(T meter);
MetricsConverter { abstract public Stream<Metric> getMetrics(T meter); }
MetricsConverter { abstract public Stream<Metric> getMetrics(T meter);  }
MetricsConverter { abstract public Stream<Metric> getMetrics(T meter);  abstract Stream<Metric> getMetrics(T meter); static TimeUnit getBaseTimeUnit(); }
MetricsConverter { abstract public Stream<Metric> getMetrics(T meter);  abstract Stream<Metric> getMetrics(T meter); static TimeUnit getBaseTimeUnit();  }