@Test public void authority() { String authority = "authority5678"; when(mock.authority()).thenReturn(authority); assertSame(authority, forward.authority()); }
@Override public String authority() { return delegate.authority(); }
ForwardingManagedChannel extends ManagedChannel { @Override public String authority() { return delegate.authority(); } }
ForwardingManagedChannel extends ManagedChannel { @Override public String authority() { return delegate.authority(); } ForwardingManagedChannel(ManagedChannel delegate); }
ForwardingManagedChannel extends ManagedChannel { @Override public String authority() { return delegate.authority(); } 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 String authority() { return delegate.authority(); } 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();  }