Do I always need `when/thenReturn` for mock object's functions

后端 未结 0 1405
一个人的身影
一个人的身影 2021-02-19 06:44

I am writing a test in Scala where I do something like this --

val svc = mock[Service]
Initializer.fun1(svc)

fun1 internally calls a

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