### Question:
SpectatorConfig implements StatelessConfig { @Override public Duration frequency() { return config.getDuration("frequency"); } SpectatorConfig(Config config); @Override String get(String k); @Override boolean enabled(); @Override Duration meterTTL(); @Override Duration frequency(); @Override Duration connectTimeout(); @Override Duration readTimeout(); @Override String uri(); @Override int batchSize(); @Override Map<String, String> commonTags();  }### Answer:
@Test public void frequency() { Assertions.assertEquals(Duration.ofSeconds(5), config.frequency()); }