@Test public void shouldNotDoAnything() { new NullWebAppBootstrap().configure(registry); verifyZeroInteractions(registry); }
public void configure(ComponentRegistry registry) { logger.info("Classpath scanning is disabled."); }
NullWebAppBootstrap implements WebAppBootstrap { public void configure(ComponentRegistry registry) { logger.info("Classpath scanning is disabled."); } }
NullWebAppBootstrap implements WebAppBootstrap { public void configure(ComponentRegistry registry) { logger.info("Classpath scanning is disabled."); }  }
NullWebAppBootstrap implements WebAppBootstrap { public void configure(ComponentRegistry registry) { logger.info("Classpath scanning is disabled."); }  void configure(ComponentRegistry registry); }
NullWebAppBootstrap implements WebAppBootstrap { public void configure(ComponentRegistry registry) { logger.info("Classpath scanning is disabled."); }  void configure(ComponentRegistry registry);  }