LoggingSession implements InternalSessionContext { public synchronized void shutdown() { configuration.shutdown(); } LoggingSession(final Configuration configuration,
      final LoggingSessionNotifier loggingSessionNotifier); static LoggingSession create(); synchronized void createSession(final LogConfigSupplier logConfigSupplier); synchronized void createSession(final LogConfigSupplier logConfigSupplier,
      final boolean logBanner, final boolean logConfiguration); synchronized void createSession(final LogConfigSupplier logConfigSupplier,
      final boolean logBanner, final boolean logConfiguration,
      final boolean standardOutputAlwaysOn); synchronized void startSession(); synchronized void stopSession(); synchronized void shutdown(); Optional<LogFile> getLogFile(); @Override State getState(); @Override LogConfigSupplier getLogConfigSupplier();  }
@Test public void shutdownInvokesConfigurationShutdown() { loggingSession.shutdown(); verify(configuration).shutdown(); }