MCPcopy
hub / github.com/stretchr/testify / TheExampleMethod

Method TheExampleMethod

mock/mock_test.go:31–34  ·  view source on GitHub ↗
(a, b, c int)

Source from the content-addressed store, hash-verified

29}
30
31func (i *TestExampleImplementation) TheExampleMethod(a, b, c int) (int, error) {
32 args := i.Called(a, b, c)
33 return args.Int(0), errors.New("Whoops")
34}
35
36type options struct {
37 num int

Callers 1

Calls 2

CalledMethod · 0.80
IntMethod · 0.80

Tested by

no test coverage detected