### Question:
ForwardingManagedChannel extends ManagedChannel { @Override public boolean isTerminated() { return delegate.isTerminated(); } ForwardingManagedChannel(ManagedChannel delegate); @Override ManagedChannel shutdown(); @Override boolean isShutdown(); @Override boolean isTerminated(); @Override ManagedChannel shutdownNow(); @Override boolean awaitTermination(long timeout, TimeUnit unit); @Override ClientCall<RequestT, ResponseT> newCall(
      MethodDescriptor<RequestT, ResponseT> methodDescriptor, CallOptions callOptions); @Override String authority(); @Override ConnectivityState getState(boolean requestConnection); @Override void notifyWhenStateChanged(ConnectivityState source, Runnable callback); @Override void resetConnectBackoff(); @Override void enterIdle(); @Override NameResolver getNameResolver(); @Override LoadBalancer getLoadBalancer(); @Override String toString();  }### Answer:
@Test public void isTerminated() { when(mock.isTerminated()).thenReturn(true); assertSame(true, forward.isTerminated()); }