Description

On starts a description of an expectation of the specified method being called.

Mock.On("MyMethod", arg1, arg2)

On is referenced in 175 repositories

github.com/stretchr/testify github.com/Workiva/go-rest github.com/vektra/strive

...