@Test
public void testConfig() throws Exception {

  ClassLoader classLoader = ClassLoader.getSystemClassLoader();
  Config config = LoggingInstrumentationAdvice.generateConfig(classLoader, false);
  AdviceConfig adviceConfig =
      LoggingInstrumentationAdvice.generateAdviceConfig(classLoader, config, false);
  assertThat(adviceConfig.classNames())
      .contains("com.tersesystems.logback.bytebuddy.ClassCalledByAgent");
}