@Test public void typicalPrometheusConfig() { PrometheusConfig prometheusConfig = prometheusConfigFactory.newInstance(); assertThat(prometheusConfig.prefix()).isEqualTo(DEFAULT_PREFIX); }
public PrometheusConfig newInstance() { return new PrometheusConfigFactory.DefaultPrometheusConfig(prefix); }
PrometheusConfigFactory { public PrometheusConfig newInstance() { return new PrometheusConfigFactory.DefaultPrometheusConfig(prefix); } }
PrometheusConfigFactory { public PrometheusConfig newInstance() { return new PrometheusConfigFactory.DefaultPrometheusConfig(prefix); }  }
PrometheusConfigFactory { public PrometheusConfig newInstance() { return new PrometheusConfigFactory.DefaultPrometheusConfig(prefix); }  String getPrefix(); void setPrefix(String prefix); PrometheusConfig newInstance(); }
PrometheusConfigFactory { public PrometheusConfig newInstance() { return new PrometheusConfigFactory.DefaultPrometheusConfig(prefix); }  String getPrefix(); void setPrefix(String prefix); PrometheusConfig newInstance();  }