Mock Class without instancing it Flutter Test

前端 未结 0 826
隐瞒了意图╮
隐瞒了意图╮ 2020-12-24 06:15

I\'m trying to write unit tests for a Flutter application. I want to mock a class without instantiating it. Let\'s say I have this code:



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