Unit testing with MutableLiveData
Building Done, I used Android Architecture Components, Data Binding and Room. Inevitably, while writing tests I found myself needing to assert on code that’s called inside a LiveData
observer, in its onChanged()
callback.