You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
Go
50 lines
1.3 KiB
Go
4 years ago
|
// Code generated by MockGen. DO NOT EDIT.
|
||
|
// Source: checker.go
|
||
|
|
||
|
// Package checker is a generated GoMock package.
|
||
|
package checker
|
||
|
|
||
|
import (
|
||
|
context "context"
|
||
|
gomock "github.com/golang/mock/gomock"
|
||
|
reflect "reflect"
|
||
|
)
|
||
|
|
||
|
// MockChecker is a mock of Checker interface
|
||
|
type MockChecker struct {
|
||
|
ctrl *gomock.Controller
|
||
|
recorder *MockCheckerMockRecorder
|
||
|
}
|
||
|
|
||
|
// MockCheckerMockRecorder is the mock recorder for MockChecker
|
||
|
type MockCheckerMockRecorder struct {
|
||
|
mock *MockChecker
|
||
|
}
|
||
|
|
||
|
// NewMockChecker creates a new mock instance
|
||
|
func NewMockChecker(ctrl *gomock.Controller) *MockChecker {
|
||
|
mock := &MockChecker{ctrl: ctrl}
|
||
|
mock.recorder = &MockCheckerMockRecorder{mock}
|
||
|
return mock
|
||
|
}
|
||
|
|
||
|
// EXPECT returns an object that allows the caller to indicate expected use
|
||
|
func (m *MockChecker) EXPECT() *MockCheckerMockRecorder {
|
||
|
return m.recorder
|
||
|
}
|
||
|
|
||
|
// Check mocks base method
|
||
|
func (m *MockChecker) Check(ctx context.Context, in *CheckReq) (*CheckResp, error) {
|
||
|
m.ctrl.T.Helper()
|
||
|
ret := m.ctrl.Call(m, "Check", ctx, in)
|
||
|
ret0, _ := ret[0].(*CheckResp)
|
||
|
ret1, _ := ret[1].(error)
|
||
|
return ret0, ret1
|
||
|
}
|
||
|
|
||
|
// Check indicates an expected call of Check
|
||
|
func (mr *MockCheckerMockRecorder) Check(ctx, in interface{}) *gomock.Call {
|
||
|
mr.mock.ctrl.T.Helper()
|
||
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Check", reflect.TypeOf((*MockChecker)(nil).Check), ctx, in)
|
||
|
}
|