Repository navigation
Expand file tree
/
Copy pathtesting_mock.go
More file actions
62 lines (51 loc) · 1.54 KB
/
Copy pathtesting_mock.go
File metadata and controls
62 lines (51 loc) · 1.54 KB
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
699C
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/dominicbarnes/got (interfaces: T)
// Package got is a generated GoMock package.
package got
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockT is a mock of T interface.
type MockT struct {
ctrl *gomock.Controller
recorder *MockTMockRecorder
}
// MockTMockRecorder is the mock recorder for MockT.
type MockTMockRecorder struct {
mock *MockT
}
// NewMockT creates a new mock instance.
func NewMockT(ctrl *gomock.Controller) *MockT {
mock := &MockT{ctrl: ctrl}
mock.recorder = &MockTMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockT) EXPECT() *MockTMockRecorder {
return m.recorder
}
// Fatal mocks base method.
func (m *MockT) Fatal(arg0 ...interface{}) {
m.ctrl.T.Helper()
varargs := []interface{}{}
for _, a := range arg0 {
varargs = append(varargs, a)
}
m.ctrl.Call(m, "Fatal", varargs...)
}
// Fatal indicates an expected call of Fatal.
func (mr *MockTMockRecorder) Fatal(arg0 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Fatal", reflect.TypeOf((*MockT)(nil).Fatal), arg0...)
}
// Helper mocks base method.
func (m *MockT) Helper() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Helper")
}
// Helper indicates an expected call of Helper.
func (mr *MockTMockRecorder) Helper() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Helper", reflect.TypeOf((*MockT)(nil).Helper))
}