//Extensions for Jetpack Lifecycle/it.czerwinski.android.lifecycle.livedata.test/TestObserver/assertValue
assertValue
[androidJvm]
Content
fun assertValue(value: T): TestObserver<T>
More info
Asserts that this observer received exactly one onChanged value, equal to the given value.
[androidJvm]
Content
fun assertValue(predicate: (T) -> Boolean): TestObserver<T>
More info
Asserts that this observer received exactly one onChanged value, for which the given predicate returns true.