NettyClientTransport implements ManagedClientTransport { @Override public String toString() { return getLogId() + "(" + address + ")"; } NettyClientTransport(SocketAddress address, Class<? extends Channel> channelType,
                       EventLoopGroup group, ProtocolNegotiator negotiator,
                       int flowControlWindow, int maxMessageSize, int maxHeaderListSize,
                       String authority); @Override void ping(final PingCallback callback, final Executor executor); @Override ClientStream newStream(MethodDescriptor<?, ?> method, Metadata headers); @Override void start(Listener transportListener); @Override void shutdown(); @Override String toString(); @Override String getLogId();  }
@Test public void testToString() throws Exception { String s = newTransport(newNegotiator()).toString(); transports.clear(); assertTrue("Unexpected: " + s, s.contains("NettyClientTransport")); assertTrue("Unexpected: " + s, s.contains(address.toString())); }