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

Method TheExampleMethodVariadic

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

CalledMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected