### Question:
OkHttpChannelBuilder extends
        AbstractManagedChannelImplBuilder<OkHttpChannelBuilder> { public static OkHttpChannelBuilder forAddress(String host, int port) { return new OkHttpChannelBuilder(host, port); } protected  OkHttpChannelBuilder(String host, int port); private  OkHttpChannelBuilder(String target); static OkHttpChannelBuilder forAddress(String host, int port); static OkHttpChannelBuilder forTarget(String target); final OkHttpChannelBuilder transportExecutor(@Nullable Executor transportExecutor); @Deprecated final OkHttpChannelBuilder negotiationType(io.grpc.okhttp.NegotiationType type); @Deprecated final OkHttpChannelBuilder enableKeepAlive(boolean enable); @Deprecated final OkHttpChannelBuilder enableKeepAlive(boolean enable, long keepAliveTime,
      TimeUnit delayUnit, long keepAliveTimeout, TimeUnit timeoutUnit); @Override OkHttpChannelBuilder keepAliveTime(long keepAliveTime, TimeUnit timeUnit); @Override OkHttpChannelBuilder keepAliveTimeout(long keepAliveTimeout, TimeUnit timeUnit); OkHttpChannelBuilder flowControlWindow(int flowControlWindow); @Override OkHttpChannelBuilder keepAliveWithoutCalls(boolean enable); final OkHttpChannelBuilder sslSocketFactory(SSLSocketFactory factory); final OkHttpChannelBuilder hostnameVerifier(@Nullable HostnameVerifier hostnameVerifier); final OkHttpChannelBuilder connectionSpec(
      com.squareup.okhttp.ConnectionSpec connectionSpec); @Override @Deprecated final OkHttpChannelBuilder usePlaintext(boolean skipNegotiation); @Override final OkHttpChannelBuilder usePlaintext(); @Override final OkHttpChannelBuilder useTransportSecurity(); final OkHttpChannelBuilder scheduledExecutorService(
      ScheduledExecutorService scheduledExecutorService); @Override OkHttpChannelBuilder maxInboundMetadataSize(int bytes); static final int DEFAULT_FLOW_CONTROL_WINDOW; @Deprecated
  static final com.squareup.okhttp.ConnectionSpec DEFAULT_CONNECTION_SPEC; }### Answer:
@Test public void authorityIsReadable() { OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("original", 1234); assertEquals("original:1234", builder.build().authority()); }
@Test public void overrideAuthorityIsReadableForAddress() { OkHttpChannelBuilder builder = OkHttpChannelBuilder.forAddress("original", 1234); overrideAuthorityIsReadableHelper(builder, "override:5678"); }
@Test public void failInvalidAuthority() { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("Invalid host or port"); OkHttpChannelBuilder.forAddress("invalid_authority", 1234); }