Lookout { private Lookout() { } private  Lookout(); static Registry registry(); static void setRegistry(Registry registry);  }
@Test public void testLookout() { Registry registry = Lookout.registry(); Assert.assertSame(NoopRegistry.INSTANCE, registry); Counter counter = registry.counter(registry.createId("aa")); counter.inc(); counter.dec(); counter.inc(2); counter.dec(2); }