### Question:
StorageServerChannel implements AutoCloseable { public StorageServerChannel intercept(long scId) { return intercept(new StorageContainerClientInterceptor(scId)); } @SuppressWarnings("deprecation")  StorageServerChannel(Endpoint endpoint,
                                Optional<String> token,
                                boolean usePlainText,
                                EndpointResolver endpointResolver); @VisibleForTesting  StorageServerChannel(ManagedChannel channel,
                                Optional<String> token); protected  StorageServerChannel(Channel channel,
                                   Optional<String> token); private  StorageServerChannel(Channel channel,
                                 Optional<String> token,
                                 StorageServerChannel interceptedServerChannel); static Function<Endpoint, StorageServerChannel> factory(StorageClientSettings settings); Channel getGrpcChannel(); synchronized RootRangeServiceFutureStub getRootRangeService(); synchronized MetaRangeServiceFutureStub getMetaRangeService(); synchronized StorageContainerServiceFutureStub getStorageContainerService(); synchronized TableServiceFutureStub getTableService(); StorageServerChannel intercept(long scId); StorageServerChannel intercept(ClientInterceptor... interceptors); @Override void close();  }### Answer:
@Test public void testIntercept() { ManagedChannel channel = mock(ManagedChannel.class); StorageServerChannel ssChannel = new StorageServerChannel(channel, Optional.empty()); StorageServerChannel interceptedChannel = ssChannel.intercept(1L); interceptedChannel.close(); verify(channel, times(1)).shutdown(); }