@Test
public void testShutdownNow() throws IOException {

  MockChannelFactory factory = new MockChannelFactory();
  new ChannelPool(factory, 1).shutdownNow();
  for (ManagedChannel managedChannel : factory.channels) {
    verify(managedChannel, times(1)).shutdownNow();
  }
}