### Question:
MetricsUtils { public static MetricRegistry getDefaultRegistry() { MetricRegistry registry = SharedMetricRegistries.tryGetDefault(); return Optional.ofNullable(registry) .orElseGet(MetricsUtils::setDefaultRegistry); }  static MetricRegistry getDefaultRegistry(); static void registerGauge(String name, T value); static Context timer(Class<?> clazz, String name);  }### Answer:
@Test public void testDefaultRegistry() { assertThat(MetricsUtils.getDefaultRegistry()).isNotNull(); }