AmazonS3ClientManager implements Managed { @Override public void stop() throws Exception { client.shutdown(); } AmazonS3ClientManager(@Nonnull final AmazonS3 s3); @Override void start(); @Override void stop();  }
@Test public void testStop() throws Exception { manager.stop(); verify(client).shutdown(); }