use of com.navercorp.pinpoint.profiler.monitor.metric.totalthread.TotalThreadMetric in project pinpoint by naver.
the class TotalThreadMetricProviderTest method get.
@Test
public void get() {
Provider<TotalThreadMetric> provider = new TotalThreadMetricProvider();
TotalThreadMetric totalThreadMetric = provider.get();
TotalThreadMetricSnapshot snapshot = totalThreadMetric.getSnapshot();
Assert.assertNotEquals(snapshot.getTotalThreadCount(), 0);
}
Aggregations