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

Method TheExampleMethod7

mock/mock_test.go:98–101  ·  view source on GitHub ↗
(slice []bool)

Source from the content-addressed store, hash-verified

96}
97
98func (i *TestExampleImplementation) TheExampleMethod7(slice []bool) error {
99 args := i.Called(slice)
100 return args.Error(0)
101}
102
103func (i *TestExampleImplementation) TheExampleMethodFunc(fn func(string) error) error {
104 args := i.Called(fn)

Calls 2

CalledMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected