This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 607
/
mock.go
76 lines (63 loc) · 1.81 KB
/
mock.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Code generated by MockGen. DO NOT EDIT.
// Source: input.go
// Package const_length is a generated GoMock package.
package const_length
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockI is a mock of I interface.
type MockI struct {
ctrl *gomock.Controller
recorder *MockIMockRecorder
}
// MockIMockRecorder is the mock recorder for MockI.
type MockIMockRecorder struct {
mock *MockI
}
// NewMockI creates a new mock instance.
func NewMockI(ctrl *gomock.Controller) *MockI {
mock := &MockI{ctrl: ctrl}
mock.recorder = &MockIMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockI) EXPECT() *MockIMockRecorder {
return m.recorder
}
// Bar mocks base method.
func (m *MockI) Bar() [2]int {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Bar")
ret0, _ := ret[0].([2]int)
return ret0
}
// Bar indicates an expected call of Bar.
func (mr *MockIMockRecorder) Bar() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bar", reflect.TypeOf((*MockI)(nil).Bar))
}
// Baz mocks base method.
func (m *MockI) Baz() [127]int {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Baz")
ret0, _ := ret[0].([127]int)
return ret0
}
// Baz indicates an expected call of Baz.
func (mr *MockIMockRecorder) Baz() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Baz", reflect.TypeOf((*MockI)(nil).Baz))
}
// Foo mocks base method.
func (m *MockI) Foo() [2]int {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Foo")
ret0, _ := ret[0].([2]int)
return ret0
}
// Foo indicates an expected call of Foo.
func (mr *MockIMockRecorder) Foo() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Foo", reflect.TypeOf((*MockI)(nil).Foo))
}