How do I test a ViewModel class which has an interface dependecy that is generated by android as a Unit Test

前端 未结 0 479
抹茶落季
抹茶落季 2021-01-26 23:01

Good day all, am trying to test my ViewModel class and it has a dependency of datasource, I tried to mock this, but it won\'t work because it\'s an interface, I believe the inte

相关标签:
回答
  • 消灭零回复
提交回复
热议问题