TestObserver that allows unit testing
Observable-, Single-,
Maybe- and Completable-based flows.
Available observer variants
| Reactive type | Base interface | Simple | Disposable | Resource |
Observable |
Observer |
DefaultObserver |
DisposableObserver |
DisposableObserver |
Maybe |
MaybeObserver |
N/A | DisposableMaybeObserver |
DisposableMaybeObserver |
Single |
SingleObserver |
N/A | DisposableSingleObserver |
DisposableSingleObserver |
Completable |
CompletableObserver |
N/A | DisposableCompletableObserver |
DisposableCompletableObserver |
| Modifier and Type | Interface and Description |
|---|---|
| public interface | LambdaConsumerIntrospection
An interface that indicates that the implementing type is composed of individual components and exposes information about their behavior. |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | BaseTestConsumer<
the value type consumed T, the subclass of this U extends BaseTestConsumerBaseTestConsumerBase class with shared infrastructure to support
|
| public abstract class | DefaultObserver<
the value type T>Abstract base implementation of an |
| public abstract class | DisposableCompletableObserver
An abstract |
| public abstract class | DisposableMaybeObserver<
the received value type T>An abstract |
| public abstract class | DisposableObserver<
the received value type T>An abstract |
| public abstract class | DisposableSingleObserver<
the received value type T>An abstract |
| public abstract class | ResourceCompletableObserver
An abstract |
| public abstract class | ResourceMaybeObserver<
the value type T>An abstract |
| public abstract class | ResourceObserver<
the value type T>An abstract |
| public abstract class | ResourceSingleObserver<
the value type T>An abstract |
| public class | SafeObserver<
the value type T>Wraps another |
| public class | SerializedObserver<
the value type T>Serializes access to the |
| public class | TestObserver<
the value type T>An |