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

assertValueAt

[androidJvm]
Content
fun assertValueAt(index: Int, value: T): TestObserver<T>
More info

Asserts that this observer received an onChanged value at the given index, equal to the given value.

[androidJvm]
Content
fun assertValueAt(index: Int, predicate: (T) -> Boolean): TestObserver<T>
More info

Asserts that this observer received an onChanged value at the given index, for which the given predicate returns true.