public static <@NonNull E> CompletableSource resolveScopeFromLifecycle(
      final LifecycleScopeProvider<E> provider) throws OutsideScopeException {
    return resolveScopeFromLifecycle(provider, true);
  }
@Test
  public void resolveScopeFromLifecycle_complete_noFirstElement() {
    PublishSubject<Integer> lifecycle = PublishSubject.create();

    TestObserver<?> o = testSource(resolveScopeFromLifecycle(lifecycle, 3));

    // Now we complete
    lifecycle.onComplete();
    o.assertComplete();
  }