Android sample app using dependency injection lib Koin. The Project includes examples for injecting view models into tests and test it
Very usefull article for understanding how to test live data. This was very helpful for KoinJunitTestApp https://jeroenmols.com/blog/2019/01/17/livedatajunit5/