ObservableGroup { public boolean hasObservables(Observer<?> observer) { return !getObservablesForObserver(observer).isEmpty(); } ObservableGroup(long groupId); long id(); void initializeAutoTaggingAndResubscription(final Object target); void initializeAutoTaggingAndResubscriptionInTargetClassOnly(T target,
      Class<T> targetClass); ObservableTransformer<? super T, T> transform(Observer<? super T> observer,
      String observableTag); ObservableTransformer<? super T, T> transform(Observer<? super T> observer); void lock(); void unlock(); void dispose(); Observable<T> observable(Observer<? super T> observer); Observable<T> observable(Observer<? super T> observer, String observableTag); SourceSubscription subscription(Observer<?> observer, String observableTag); SourceSubscription subscription(Observer<?> observer); void resubscribeAll(TaggedObserver<? super T> observer); void resubscribe(TaggedObserver<? super T> observer, String observableTag); void resubscribe(TaggedObserver<? super T> observer); void cancelAndRemove(Observer<?> observer, String observableTag); void cancelAllObservablesForObserver(Observer<?> observer); boolean hasObservable(Observer<?> observer, String observableTag); boolean hasObservables(Observer<?> observer); boolean isDestroyed(); @Override String toString();  }
@Test public void shouldNotHaveObservable() { ObservableGroup group = observableManager.newGroup(); assertThat(group.hasObservables(fooObserver)).isEqualTo(false); }