I am writing a test in Scala where I do something like this --
val svc = mock[Service] Initializer.fun1(svc)
fun1 internally calls a
fun1