@Test public void testLoadSinleInstance() { MetricRegistries loader = mock(MetricRegistries.class); MetricRegistries instance = MetricRegistriesLoader.load(Lists.newArrayList(loader)); assertEquals(loader, instance); }
public static MetricRegistries load() { List<MetricRegistries> availableImplementations = getDefinedImplemantations(); return load(availableImplementations); }
MetricRegistriesLoader { public static MetricRegistries load() { List<MetricRegistries> availableImplementations = getDefinedImplemantations(); return load(availableImplementations); } }
MetricRegistriesLoader { public static MetricRegistries load() { List<MetricRegistries> availableImplementations = getDefinedImplemantations(); return load(availableImplementations); } private  MetricRegistriesLoader(); }
MetricRegistriesLoader { public static MetricRegistries load() { List<MetricRegistries> availableImplementations = getDefinedImplemantations(); return load(availableImplementations); } private  MetricRegistriesLoader(); static MetricRegistries load(); }
MetricRegistriesLoader { public static MetricRegistries load() { List<MetricRegistries> availableImplementations = getDefinedImplemantations(); return load(availableImplementations); } private  MetricRegistriesLoader(); static MetricRegistries load();  }