Analytics { public void shutdown() { client.shutdown(); } Analytics(
      AnalyticsClient client,
      List<MessageTransformer> messageTransformers,
      List<MessageInterceptor> messageInterceptors,
      Log log); static Builder builder(String writeKey); void enqueue(MessageBuilder builder); void flush(); void shutdown();  }
@Test public void shutdownIsDispatched() { analytics.shutdown(); verify(client).shutdown(); }