@Test public void resolveScopeFromLifecycle_error_noFirstElement() { PublishSubject<Integer> lifecycle = PublishSubject.create(); TestObserver<?> o = testSource(resolveScopeFromLifecycle(lifecycle, 3)); RuntimeException expected = new RuntimeException("Expected"); lifecycle.onError(expected); o.assertError(expected); }
public static <E> CompletableSource resolveScopeFromLifecycle( final LifecycleScopeProvider<E> provider) throws OutsideScopeException { return resolveScopeFromLifecycle(provider, true); }
LifecycleScopes { public static <E> CompletableSource resolveScopeFromLifecycle( final LifecycleScopeProvider<E> provider) throws OutsideScopeException { return resolveScopeFromLifecycle(provider, true); } }
LifecycleScopes { public static <E> CompletableSource resolveScopeFromLifecycle( final LifecycleScopeProvider<E> provider) throws OutsideScopeException { return resolveScopeFromLifecycle(provider, true); } private  LifecycleScopes(); }
LifecycleScopes { public static <E> CompletableSource resolveScopeFromLifecycle( final LifecycleScopeProvider<E> provider) throws OutsideScopeException { return resolveScopeFromLifecycle(provider, true); } private  LifecycleScopes(); static CompletableSource resolveScopeFromLifecycle(
      final LifecycleScopeProvider<E> provider); static CompletableSource resolveScopeFromLifecycle(
      final LifecycleScopeProvider<E> provider, final boolean checkEndBoundary); static CompletableSource resolveScopeFromLifecycle(
      Observable<E> lifecycle, final E endEvent); static CompletableSource resolveScopeFromLifecycle(
      Observable<E> lifecycle, final E endEvent, @Nullable final Comparator<E> comparator); }
LifecycleScopes { public static <E> CompletableSource resolveScopeFromLifecycle( final LifecycleScopeProvider<E> provider) throws OutsideScopeException { return resolveScopeFromLifecycle(provider, true); } private  LifecycleScopes(); static CompletableSource resolveScopeFromLifecycle(
      final LifecycleScopeProvider<E> provider); static CompletableSource resolveScopeFromLifecycle(
      final LifecycleScopeProvider<E> provider, final boolean checkEndBoundary); static CompletableSource resolveScopeFromLifecycle(
      Observable<E> lifecycle, final E endEvent); static CompletableSource resolveScopeFromLifecycle(
      Observable<E> lifecycle, final E endEvent, @Nullable final Comparator<E> comparator);  }