TreeRenderers { public static TreeRendererDescriptor findById(String id) { synchronized (REGISTRY) { return REGISTRY.get(id); } } private  TreeRenderers(); static TreeRendererDescriptor findById(String id); static Collection<TreeRendererDescriptor> registeredRenderers(); static boolean register(TreeRendererDescriptor descriptor);  }
@Test public void testStandardRenderersAreRegistered() { Assert.assertEquals(TreeRenderers.XML, TreeRenderers.findById(TreeRenderers.XML.id())); }