### Question:
OkHttpClientTransport implements ConnectionClientTransport, TransportExceptionHandler { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("logId", logId.getId()) .add("address", address) .toString(); } OkHttpClientTransport(InetSocketAddress address, String authority, @Nullable String userAgent,
      Executor executor, @Nullable SSLSocketFactory sslSocketFactory,
      @Nullable HostnameVerifier hostnameVerifier, ConnectionSpec connectionSpec,
      int maxMessageSize, int initialWindowSize, @Nullable ProxyParameters proxy,
      Runnable tooManyPingsRunnable, int maxInboundMetadataSize, TransportTracer transportTracer); @VisibleForTesting  OkHttpClientTransport(
      String userAgent,
      Executor executor,
      FrameReader frameReader,
      FrameWriter testFrameWriter,
      int nextStreamId,
      Socket socket,
      Supplier<Stopwatch> stopwatchFactory,
      @Nullable Runnable connectingCallback,
      SettableFuture<Void> connectedFuture,
      int maxMessageSize,
      int initialWindowSize,
      Runnable tooManyPingsRunnable,
      TransportTracer transportTracer); @Override void ping(final PingCallback callback, Executor executor); @Override OkHttpClientStream newStream(final MethodDescriptor<?, ?> method,
      final Metadata headers, CallOptions callOptions); @Override Runnable start(Listener listener); @Override String toString(); @Override InternalLogId getLogId(); @Override void shutdown(Status reason); @Override void shutdownNow(Status reason); @Override Attributes getAttributes(); @Override void onException(Throwable failureCause); @Override ListenableFuture<SocketStats> getStats(); @Override SocketAddress getAddress();  }### Answer:
@Test public void testToString() throws Exception { InetSocketAddress address = InetSocketAddress.createUnresolved("hostname", 31415); clientTransport = new OkHttpClientTransport( address, "hostname", null, executor, sslSocketFactory, hostnameVerifier, OkHttpChannelBuilder.INTERNAL_DEFAULT_CONNECTION_SPEC, DEFAULT_MAX_MESSAGE_SIZE, INITIAL_WINDOW_SIZE, NO_PROXY, tooManyPingsRunnable, DEFAULT_MAX_INBOUND_METADATA_SIZE, transportTracer); String s = clientTransport.toString(); assertTrue("Unexpected: " + s, s.contains("OkHttpClientTransport")); assertTrue("Unexpected: " + s, s.contains(address.toString())); }