### Question:
OkHttpClientStream extends AbstractClientStream { public MethodDescriptor.MethodType getType() { return method.getType(); } OkHttpClientStream(
      MethodDescriptor<?, ?> method,
      Metadata headers,
      AsyncFrameWriter frameWriter,
      OkHttpClientTransport transport,
      OutboundFlowController outboundFlow,
      Object lock,
      int maxMessageSize,
      int initialWindowSize,
      String authority,
      String userAgent,
      StatsTraceContext statsTraceCtx,
      TransportTracer transportTracer,
      CallOptions callOptions); MethodDescriptor.MethodType getType(); int id(); @Override void setAuthority(String authority); @Override Attributes getAttributes(); static final int ABSENT_ID; }### Answer:
@Test public void getType() { assertEquals(MethodType.UNARY, stream.getType()); }