public static InstrumentedScheduledExecutorService newSingleThreadScheduledExecutor(
            MetricRegistry registry, String name) {
        return new InstrumentedScheduledExecutorService
                (Executors.newSingleThreadScheduledExecutor(), registry, name);
    }
@Test
    public void testNewSingleThreadScheduledExecutor() throws Exception {
        final ScheduledExecutorService executorService = InstrumentedExecutors.newSingleThreadScheduledExecutor(registry);
        executorService.schedule(new NoopRunnable(), 0, TimeUnit.SECONDS);
        executorService.shutdown();
    }