How i can init and test varuable from presenter in Unit Test

前端 未结 0 1002
情深已故
情深已故 2021-02-02 01:46

I have a variable in the presenter, and a function that uses it, how can I see or mock this variable in the unit test to test the function?

Variable in presenter:

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