public final boolean isTerminated(){
  return done.getCount() == 0;
}

public final boolean isTerminated ( ) { return done . getCount ( ) == 0 ; }
returns true if testsubscriber received any onerror or oncomplete events .
