@Test public void getState() { when(mock.getState(true)).thenReturn(ConnectivityState.READY); assertSame(ConnectivityState.READY, forward.getState(true)); }
@Override public ConnectivityState getState(boolean requestConnection) { return delegate.getState(requestConnection); }
ForwardingManagedChannel extends ManagedChannel { @Override public ConnectivityState getState(boolean requestConnection) { return delegate.getState(requestConnection); } }
ForwardingManagedChannel extends ManagedChannel { @Override public ConnectivityState getState(boolean requestConnection) { return delegate.getState(requestConnection); } ForwardingManagedChannel(ManagedChannel delegate); }
ForwardingManagedChannel extends ManagedChannel { @Override public ConnectivityState getState(boolean requestConnection) { return delegate.getState(requestConnection); } 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(); }
ForwardingManagedChannel extends ManagedChannel { @Override public ConnectivityState getState(boolean requestConnection) { return delegate.getState(requestConnection); } 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();  }