Debian Codegraph @

mockgen/internal/tests/generated_identifier_conflict/bugreport_test.go

raw
1 package bugreport
2
3 import (
4 "github.com/golang/mock/gomock"
5 "testing"
6 )
7
8 func TestExample_Method(t *testing.T) {
9 ctrl := gomock.NewController(t)
10 m := NewMockExample(ctrl)
11 m.EXPECT().Method(1, 2, 3, 4)
12
13 m.Method(1, 2, 3, 4)
14
15 ctrl.Finish()
16 }
17
18 func TestExample_VarargMethod(t *testing.T) {
19 ctrl := gomock.NewController(t)
20 m := NewMockExample(ctrl)
21 m.EXPECT().VarargMethod(1, 2, 3, 4, 6, 7)
22
23 m.VarargMethod(1, 2, 3, 4, 6, 7)
24
25 ctrl.Finish()
26 }