How to assert the execute method of a mocked connection?

后端 未结 0 645
说谎
说谎 2021-02-18 13:14

In a unit test I just want to mock away the db connection and assert I\'m executing the db api with a certain query string. In my unit test it\'s not showing I\'ve called called

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