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