-
Notifications
You must be signed in to change notification settings - Fork 6
/
mock_client.go
41 lines (33 loc) · 986 Bytes
/
mock_client.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
// Automatically generated by MockGen. DO NOT EDIT!
// Source: interface.go
package client
import (
context "context"
models "github.com/Clever/wag/samples/gen-go-nils/models"
gomock "github.com/golang/mock/gomock"
)
// Mock of Client interface
type MockClient struct {
ctrl *gomock.Controller
recorder *_MockClientRecorder
}
// Recorder for MockClient (not exported)
type _MockClientRecorder struct {
mock *MockClient
}
func NewMockClient(ctrl *gomock.Controller) *MockClient {
mock := &MockClient{ctrl: ctrl}
mock.recorder = &_MockClientRecorder{mock}
return mock
}
func (_m *MockClient) EXPECT() *_MockClientRecorder {
return _m.recorder
}
func (_m *MockClient) NilCheck(ctx context.Context, i *models.NilCheckInput) error {
ret := _m.ctrl.Call(_m, "NilCheck", ctx, i)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockClientRecorder) NilCheck(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "NilCheck", arg0, arg1)
}