//Extensions for Jetpack Lifecycle/it.czerwinski.android.lifecycle.livedata.test/test

test

[androidJvm]
Content
fun <T> LiveData<T>.test(): TestObserver<T>
More info

Creates a non-forwarding TestObserver observing all values emitted by this LiveData.

Since

1.1.0

[androidJvm]
Content
fun <T> LiveData<T>.test(downstream: Observer<T>): TestObserver<T>
More info

Creates a forwarding TestObserver observing all values emitted by this LiveData.

Since

1.1.0