Andrey Suchkov
Results
2
comments of
Andrey Suchkov
This snippet is slightly hacky, but works in existing testify API: ``` m := &mocks.UploadGetter{} m.On("Get", mock.Anything).Run(func(args mock.Arguments) { for _, c := range m.ExpectedCalls { if c.Method == "Get"...
@andreib1 Right, this is not concurrent safe, moreover, it is not an officially recommended solution but rather a hackish way one can use as long a we don't have a...