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

Method TheExampleMethodVariadic

mock/mock_test.go:109–112  ·  view source on GitHub ↗
(a ...int)

Source from the content-addressed store, hash-verified

107}
108
109func (i *TestExampleImplementation) TheExampleMethodVariadic(a ...int) error {
110 args := i.Called(a)
111 return args.Error(0)
112}
113
114func (i *TestExampleImplementation) TheExampleMethodVariadicInterface(a ...interface{}) error {
115 args := i.Called(a)

Callers 1

Calls 2

CalledMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected