### Question:
SecurityRulesModule implements ServerModule { @Override public void stop() { if ( mountedFilter != null ) { mountedFilter.destroy(); } } SecurityRulesModule( WebServer webServer, Config config, LogProvider logProvider ); @Override void start(); @Override void stop();  }### Answer:
@Test public void shouldStopCleanlyEvenWhenItHasntBeenStarted() { new SecurityRulesModule( null, null, NullLogProvider.getInstance() ).stop(); }