MCPcopy Index your code
hub / github.com/stretchr/testify / TheExampleMethodFuncType

Method TheExampleMethodFuncType

mock/mock_test.go:126–129  ·  view source on GitHub ↗
(fn ExampleFuncType)

Source from the content-addressed store, hash-verified

124type ExampleFuncType func(string) error
125
126func (i *TestExampleImplementation) TheExampleMethodFuncType(fn ExampleFuncType) error {
127 args := i.Called(fn)
128 return args.Error(0)
129}
130
131// MockTestingT mocks a test struct
132type MockTestingT struct {

Callers 2

Test_Mock_UnsetFunction · 0.80

Calls 2

CalledMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected