I have been googling around but don't seem to be able to get this working, I am writing a unit test for my ViewModel, and am trying to set a MutableLiveData<String> var in my ViewModel, via the test, however the value is never actually set, and the logic I want to test depends on this value not been null. In my test I am using: