Description

Times indicates that that the mock should only return the indicated number of times.

Mock.On("MyMethod", arg1, arg2).Return(returnArg1, returnArg2).Times(5)

Times is referenced in 9 repositories

github.com/stretchr/testify github.com/curator-go/curator github.com/flier/curator.go

...