How mock a instance of File in Dart

后端 未结 0 315
谎友^
谎友^ 2021-01-21 22:54

I want mock the method file.writeAsBytes, but i don\'t have idea how make this.

note: I do not intend to save the files in the test, just overwrite the method so that I c

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