test_class.file: rxjava/src/test/java/io/reactivex/internal/subscribers/DeferredScalarSubscriberTest.java
test_class.identifier: DeferredScalarSubscriberTest
test_case.body: @Test
      public void requestFirst() {
          TestSubscriber<Integer> ts = TestSubscriber.create(1);
          TestingDeferredScalarSubscriber ds = new TestingDeferredScalarSubscriber(ts);
          ds.setupDownstream();
  
          ds.onNext(1);
  
          ts.assertNoValues();
  
          ds.onComplete();
  
          ts.assertValues(1);
          ts.assertNoErrors();
          ts.assertComplete();
      }
test_case.class_method_signature: DeferredScalarSubscriberTest.requestFirst()
test_case.full_signature: @Test public void requestFirst()
test_case.identifier: requestFirst
test_case.invocations: create setupDownstream onNext assertNoValues onComplete assertValues assertNoErrors assertComplete
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void requestFirst()
focal_class.declarator: serialVersionUID = 2984505488220891551L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 2984505488220891551L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: s
focal_class.modifier: protected
focal_class.original_string: protected Subscription s;
focal_class.type: Subscription
focal_class.var_name: s
focal_class.declarator: hasValue
focal_class.modifier: protected
focal_class.original_string: protected boolean hasValue;
focal_class.type: boolean
focal_class.var_name: hasValue
focal_class.file: rxjava/src/main/java/io/reactivex/internal/subscribers/DeferredScalarSubscriber.java
focal_class.identifier: DeferredScalarSubscriber
focal_class.interfaces: implements FlowableSubscriber<T>
focal_class.class_method_signature: DeferredScalarSubscriber.DeferredScalarSubscriber(Subscriber<? super R> actual)
focal_class.full_signature: public  DeferredScalarSubscriber(Subscriber<? super R> actual)
focal_class.identifier: DeferredScalarSubscriber
focal_class.modifiers: public
focal_class.parameters: (Subscriber<? super R> actual)
focal_class.signature:  DeferredScalarSubscriber(Subscriber<? super R> actual)
focal_class.class_method_signature: DeferredScalarSubscriber.onSubscribe(Subscription s)
focal_class.full_signature: @Override public void onSubscribe(Subscription s)
focal_class.identifier: onSubscribe
focal_class.modifiers: @Override public
focal_class.parameters: (Subscription s)
focal_class.return: void
focal_class.signature: void onSubscribe(Subscription s)
focal_class.class_method_signature: DeferredScalarSubscriber.onError(Throwable t)
focal_class.full_signature: @Override public void onError(Throwable t)
focal_class.identifier: onError
focal_class.modifiers: @Override public
focal_class.parameters: (Throwable t)
focal_class.return: void
focal_class.signature: void onError(Throwable t)
focal_class.class_method_signature: DeferredScalarSubscriber.onComplete()
focal_class.full_signature: @Override public void onComplete()
focal_class.identifier: onComplete
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onComplete()
focal_class.class_method_signature: DeferredScalarSubscriber.cancel()
focal_class.full_signature: @Override public void cancel()
focal_class.identifier: cancel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void cancel()
focal_class.superclass: extends DeferredScalarSubscription<R>
focal_method.body: @Override
      public void onComplete() {
          if (hasValue) {
              complete(value);
          } else {
              actual.onComplete();
          }
      }
focal_method.class_method_signature: DeferredScalarSubscriber.onComplete()
focal_method.full_signature: @Override public void onComplete()
focal_method.identifier: onComplete
focal_method.invocations: complete onComplete
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void onComplete()