### Question:
AtlasRegistry extends AbstractRegistry implements AutoCloseable { @Override public void close() { stop(); } @Inject  AtlasRegistry(Clock clock, AtlasConfig config); void start(); void stop(); @Override void close(); @SuppressWarnings("PMD.UselessOverridingMethod") @Override void removeExpiredMeters(); @Override Stream<Measurement> measurements();  }### Answer:
@Test public void shutdownWithoutStarting() { AtlasRegistry r = new AtlasRegistry( Clock.SYSTEM, k -> k.equals("atlas.enabled") ? "true" : null); r.close(); }