@Test public void testAuthStateChanges() { TestObserver<FirebaseAuth> obs = TestObserver.create(); RxFirebaseAuth.changes(mockFirebaseAuth) .subscribe(obs); callOnAuthStateChanged(); obs.assertNotComplete(); obs.assertValueCount(1); obs.dispose(); callOnAuthStateChanged(); obs.assertValueCount(1); }
@CheckReturnValue @NonNull public static Observable<FirebaseAuth> changes(@NonNull FirebaseAuth instance) { return Observable.create(new AuthStateChangesOnSubscribe(instance)); }
RxFirebaseAuth { @CheckReturnValue @NonNull public static Observable<FirebaseAuth> changes(@NonNull FirebaseAuth instance) { return Observable.create(new AuthStateChangesOnSubscribe(instance)); } }
RxFirebaseAuth { @CheckReturnValue @NonNull public static Observable<FirebaseAuth> changes(@NonNull FirebaseAuth instance) { return Observable.create(new AuthStateChangesOnSubscribe(instance)); } private  RxFirebaseAuth(); }
RxFirebaseAuth { @CheckReturnValue @NonNull public static Observable<FirebaseAuth> changes(@NonNull FirebaseAuth instance) { return Observable.create(new AuthStateChangesOnSubscribe(instance)); } private  RxFirebaseAuth(); @CheckReturnValue @NonNull static Observable<FirebaseAuth> changes(@NonNull FirebaseAuth instance); @CheckReturnValue @NonNull static Single<FirebaseUser> createUserWithEmailAndPassword(
            @NonNull final FirebaseAuth instance,
            @NonNull final String email, @NonNull final String password); @CheckReturnValue @NonNull static Single<List<String>> fetchProvidersForEmail(
            @NonNull final FirebaseAuth instance, @NonNull final String email); @CheckReturnValue @NonNull static Maybe<FirebaseUser> getCurrentUser(
            @NonNull final FirebaseAuth instance); @CheckReturnValue @NonNull static Completable sendPasswordResetEmail(
            @NonNull final FirebaseAuth instance, @NonNull final String email); @CheckReturnValue @NonNull static Single<FirebaseUser> signInAnonymous(
            @NonNull final FirebaseAuth instance); @CheckReturnValue @NonNull static Function<AuthResult, FirebaseUser> authToUserFunction(); @CheckReturnValue @NonNull static Single<FirebaseUser> signInWithCredential(
            @NonNull final FirebaseAuth instance, @NonNull final AuthCredential credential); @CheckReturnValue @NonNull static Single<FirebaseUser> signInWithCustomToken(
            @NonNull final FirebaseAuth instance, @NonNull final String token); @CheckReturnValue @NonNull static Single<FirebaseUser> signInWithEmailAndPassword(
            @NonNull final FirebaseAuth instance,
            @NonNull final String email, @NonNull final String password); @CheckReturnValue @NonNull static Completable signOut(@NonNull final FirebaseAuth instance); }
RxFirebaseAuth { @CheckReturnValue @NonNull public static Observable<FirebaseAuth> changes(@NonNull FirebaseAuth instance) { return Observable.create(new AuthStateChangesOnSubscribe(instance)); } private  RxFirebaseAuth(); @CheckReturnValue @NonNull static Observable<FirebaseAuth> changes(@NonNull FirebaseAuth instance); @CheckReturnValue @NonNull static Single<FirebaseUser> createUserWithEmailAndPassword(
            @NonNull final FirebaseAuth instance,
            @NonNull final String email, @NonNull final String password); @CheckReturnValue @NonNull static Single<List<String>> fetchProvidersForEmail(
            @NonNull final FirebaseAuth instance, @NonNull final String email); @CheckReturnValue @NonNull static Maybe<FirebaseUser> getCurrentUser(
            @NonNull final FirebaseAuth instance); @CheckReturnValue @NonNull static Completable sendPasswordResetEmail(
            @NonNull final FirebaseAuth instance, @NonNull final String email); @CheckReturnValue @NonNull static Single<FirebaseUser> signInAnonymous(
            @NonNull final FirebaseAuth instance); @CheckReturnValue @NonNull static Function<AuthResult, FirebaseUser> authToUserFunction(); @CheckReturnValue @NonNull static Single<FirebaseUser> signInWithCredential(
            @NonNull final FirebaseAuth instance, @NonNull final AuthCredential credential); @CheckReturnValue @NonNull static Single<FirebaseUser> signInWithCustomToken(
            @NonNull final FirebaseAuth instance, @NonNull final String token); @CheckReturnValue @NonNull static Single<FirebaseUser> signInWithEmailAndPassword(
            @NonNull final FirebaseAuth instance,
            @NonNull final String email, @NonNull final String password); @CheckReturnValue @NonNull static Completable signOut(@NonNull final FirebaseAuth instance);  }