test_class.declarator: fo
test_class.original_string: FutureObserver<Integer> fo;
test_class.type: FutureObserver<Integer>
test_class.var_name: fo
test_class.file: rxjava/src/test/java/io/reactivex/internal/observers/FutureObserverTest.java
test_class.identifier: FutureObserverTest
test_case.body: @Test
      public void onSubscribe() throws Exception {
          List<Throwable> errors = TestHelper.trackPluginErrors();
  
          try {
  
              Disposable s = Disposables.empty();
  
              fo.onSubscribe(s);
  
              Disposable s2 = Disposables.empty();
  
              fo.onSubscribe(s2);
  
              assertFalse(s.isDisposed());
              assertTrue(s2.isDisposed());
  
              TestHelper.assertError(errors, 0, IllegalStateException.class, "Disposable already set!");
          } finally {
              RxJavaPlugins.reset();
          }
      }
test_case.class_method_signature: FutureObserverTest.onSubscribe()
test_case.full_signature: @Test public void onSubscribe()
test_case.identifier: onSubscribe
test_case.invocations: trackPluginErrors empty onSubscribe empty onSubscribe assertFalse isDisposed assertTrue isDisposed assertError reset
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void onSubscribe()
focal_class.declarator: value
focal_class.original_string: T value;
focal_class.type: T
focal_class.var_name: value
focal_class.declarator: error
focal_class.original_string: Throwable error;
focal_class.type: Throwable
focal_class.var_name: error
focal_class.declarator: s
focal_class.modifier: final
focal_class.original_string: final AtomicReference<Disposable> s;
focal_class.type: AtomicReference<Disposable>
focal_class.var_name: s
focal_class.file: rxjava/src/main/java/io/reactivex/internal/observers/FutureObserver.java
focal_class.identifier: FutureObserver
focal_class.interfaces: implements Observer<T>, Future<T>, Disposable
focal_class.class_method_signature: FutureObserver.FutureObserver()
focal_class.full_signature: public  FutureObserver()
focal_class.identifier: FutureObserver
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  FutureObserver()
focal_class.class_method_signature: FutureObserver.cancel(boolean mayInterruptIfRunning)
focal_class.full_signature: @Override public boolean cancel(boolean mayInterruptIfRunning)
focal_class.identifier: cancel
focal_class.modifiers: @Override public
focal_class.parameters: (boolean mayInterruptIfRunning)
focal_class.return: boolean
focal_class.signature: boolean cancel(boolean mayInterruptIfRunning)
focal_class.class_method_signature: FutureObserver.isCancelled()
focal_class.full_signature: @Override public boolean isCancelled()
focal_class.identifier: isCancelled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isCancelled()
focal_class.class_method_signature: FutureObserver.isDone()
focal_class.full_signature: @Override public boolean isDone()
focal_class.identifier: isDone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDone()
focal_class.class_method_signature: FutureObserver.get()
focal_class.full_signature: @Override public T get()
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T get()
focal_class.class_method_signature: FutureObserver.get(long timeout, TimeUnit unit)
focal_class.full_signature: @Override public T get(long timeout, TimeUnit unit)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (long timeout, TimeUnit unit)
focal_class.return: T
focal_class.signature: T get(long timeout, TimeUnit unit)
focal_class.class_method_signature: FutureObserver.onSubscribe(Disposable s)
focal_class.full_signature: @Override public void onSubscribe(Disposable s)
focal_class.identifier: onSubscribe
focal_class.modifiers: @Override public
focal_class.parameters: (Disposable s)
focal_class.return: void
focal_class.signature: void onSubscribe(Disposable s)
focal_class.class_method_signature: FutureObserver.onNext(T t)
focal_class.full_signature: @Override public void onNext(T t)
focal_class.identifier: onNext
focal_class.modifiers: @Override public
focal_class.parameters: (T t)
focal_class.return: void
focal_class.signature: void onNext(T t)
focal_class.class_method_signature: FutureObserver.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: FutureObserver.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: FutureObserver.dispose()
focal_class.full_signature: @Override public void dispose()
focal_class.identifier: dispose
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void dispose()
focal_class.class_method_signature: FutureObserver.isDisposed()
focal_class.full_signature: @Override public boolean isDisposed()
focal_class.identifier: isDisposed
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDisposed()
focal_class.superclass: extends CountDownLatch
focal_method.body: @Override
      public void onSubscribe(Disposable s) {
          DisposableHelper.setOnce(this.s, s);
      }
focal_method.class_method_signature: FutureObserver.onSubscribe(Disposable s)
focal_method.full_signature: @Override public void onSubscribe(Disposable s)
focal_method.identifier: onSubscribe
focal_method.invocations: setOnce
focal_method.modifiers: @Override public
focal_method.parameters: (Disposable s)
focal_method.return: void
focal_method.signature: void onSubscribe(Disposable s)