testify using real function result as mocked function argument

后端 未结 0 1224
旧巷少年郎
旧巷少年郎 2021-01-12 11:35

How can I test this function
I need to make sure mocked FindByID function return value is a user with created UUID, or can I just test if uuid.New() got called?

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