MCPcopy Create free account
hub / github.com/stretchr/testify / TheExampleMethod

Method TheExampleMethod

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

CalledMethod · 0.80
IntMethod · 0.80

Tested by

no test coverage detected