Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/stretchr/testify
/ TheExampleMethod
Method
TheExampleMethod
mock/mock_test.go:31–34 ·
view source on GitHub ↗
(a, b, c int)
Source
from the content-addressed store, hash-verified
29
}
30
31
func
(i *TestExampleImplementation) TheExampleMethod(a, b, c int) (int, error) {
32
args := i.Called(a, b, c)
33
return
args.Int(0), errors.New(
"Whoops"
)
34
}
35
36
type
options
struct
{
37
num int
Callers
1
Test_Mock_On_WithIntArgMatcher
Function · 0.95
Calls
2
Called
Method · 0.80
Int
Method · 0.80
Tested by
no test coverage detected