@Test public void requireThatThreadsCreatedAreJDiscContainerThreads() { assertEquals(ContainerThread.class, new ContainerThreadFactory(Mockito.mock(MetricConsumerProvider.class)) .newThread(Mockito.mock(Runnable.class)) .getClass()); }
@Override public Thread newThread(Runnable target) { return delegate.newThread(target); }
ContainerThreadFactory implements ThreadFactory { @Override public Thread newThread(Runnable target) { return delegate.newThread(target); } }
ContainerThreadFactory implements ThreadFactory { @Override public Thread newThread(Runnable target) { return delegate.newThread(target); } ContainerThreadFactory(MetricConsumerProvider metricConsumerProvider); }
ContainerThreadFactory implements ThreadFactory { @Override public Thread newThread(Runnable target) { return delegate.newThread(target); } ContainerThreadFactory(MetricConsumerProvider metricConsumerProvider); @Override Thread newThread(Runnable target); }
ContainerThreadFactory implements ThreadFactory { @Override public Thread newThread(Runnable target) { return delegate.newThread(target); } ContainerThreadFactory(MetricConsumerProvider metricConsumerProvider); @Override Thread newThread(Runnable target);  }