-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwrappers_mocks_test.go
91 lines (76 loc) · 2.52 KB
/
wrappers_mocks_test.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// Code generated by MockGen. DO NOT EDIT.
// Source: wrappers.go
//
// Generated by this command:
//
// mockgen -destination=wrappers_mocks_test.go -package=slackauth -source wrappers.go
//
// Package slackauth is a generated GoMock package.
package slackauth
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// Mockelementer is a mock of elementer interface.
type Mockelementer struct {
ctrl *gomock.Controller
recorder *MockelementerMockRecorder
}
// MockelementerMockRecorder is the mock recorder for Mockelementer.
type MockelementerMockRecorder struct {
mock *Mockelementer
}
// NewMockelementer creates a new mock instance.
func NewMockelementer(ctrl *gomock.Controller) *Mockelementer {
mock := &Mockelementer{ctrl: ctrl}
mock.recorder = &MockelementerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *Mockelementer) EXPECT() *MockelementerMockRecorder {
return m.recorder
}
// Element mocks base method.
func (m *Mockelementer) Element(selector string) (inputter, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Element", selector)
ret0, _ := ret[0].(inputter)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Element indicates an expected call of Element.
func (mr *MockelementerMockRecorder) Element(selector any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Element", reflect.TypeOf((*Mockelementer)(nil).Element), selector)
}
// Mockinputter is a mock of inputter interface.
type Mockinputter struct {
ctrl *gomock.Controller
recorder *MockinputterMockRecorder
}
// MockinputterMockRecorder is the mock recorder for Mockinputter.
type MockinputterMockRecorder struct {
mock *Mockinputter
}
// NewMockinputter creates a new mock instance.
func NewMockinputter(ctrl *gomock.Controller) *Mockinputter {
mock := &Mockinputter{ctrl: ctrl}
mock.recorder = &MockinputterMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *Mockinputter) EXPECT() *MockinputterMockRecorder {
return m.recorder
}
// Input mocks base method.
func (m *Mockinputter) Input(arg0 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Input", arg0)
ret0, _ := ret[0].(error)
return ret0
}
// Input indicates an expected call of Input.
func (mr *MockinputterMockRecorder) Input(arg0 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Input", reflect.TypeOf((*Mockinputter)(nil).Input), arg0)
}