-
Notifications
You must be signed in to change notification settings - Fork 307
/
mock_network.go
51 lines (42 loc) · 1.63 KB
/
mock_network.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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/rudderlabs/rudder-server/router (interfaces: NetHandleI)
// Package mock_network is a generated GoMock package.
package mock_network
import (
context "context"
reflect "reflect"
gomock "github.com/golang/mock/gomock"
integrations "github.com/rudderlabs/rudder-server/processor/integrations"
utils "github.com/rudderlabs/rudder-server/router/utils"
)
// MockNetHandleI is a mock of NetHandleI interface.
type MockNetHandleI struct {
ctrl *gomock.Controller
recorder *MockNetHandleIMockRecorder
}
// MockNetHandleIMockRecorder is the mock recorder for MockNetHandleI.
type MockNetHandleIMockRecorder struct {
mock *MockNetHandleI
}
// NewMockNetHandleI creates a new mock instance.
func NewMockNetHandleI(ctrl *gomock.Controller) *MockNetHandleI {
mock := &MockNetHandleI{ctrl: ctrl}
mock.recorder = &MockNetHandleIMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockNetHandleI) EXPECT() *MockNetHandleIMockRecorder {
return m.recorder
}
// SendPost mocks base method.
func (m *MockNetHandleI) SendPost(arg0 context.Context, arg1 integrations.PostParametersT) *utils.SendPostResponse {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SendPost", arg0, arg1)
ret0, _ := ret[0].(*utils.SendPostResponse)
return ret0
}
// SendPost indicates an expected call of SendPost.
func (mr *MockNetHandleIMockRecorder) SendPost(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendPost", reflect.TypeOf((*MockNetHandleI)(nil).SendPost), arg0, arg1)
}