I have the following method to test, which uses a function imported from a package.
import x.y.z func abc() { ... v := z.SomeFunc() ... }
Is it possible to mock SomeFunc() in golang?
SomeFunc()
Aucun commentaire:
Enregistrer un commentaire