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
|
// Code generated by MockGen. DO NOT EDIT.
// Source: input.go
//
// Generated by this command:
//
// mockgen -package dot_imports -destination mock.go -source input.go
//
// Package dot_imports is a generated GoMock package.
package dot_imports
import (
bytes "bytes"
. "context"
. "net/http"
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockWithDotImports is a mock of WithDotImports interface.
type MockWithDotImports struct {
ctrl *gomock.Controller
recorder *MockWithDotImportsMockRecorder
isgomock struct{}
}
// MockWithDotImportsMockRecorder is the mock recorder for MockWithDotImports.
type MockWithDotImportsMockRecorder struct {
mock *MockWithDotImports
}
// NewMockWithDotImports creates a new mock instance.
func NewMockWithDotImports(ctrl *gomock.Controller) *MockWithDotImports {
mock := &MockWithDotImports{ctrl: ctrl}
mock.recorder = &MockWithDotImportsMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockWithDotImports) EXPECT() *MockWithDotImportsMockRecorder {
return m.recorder
}
// Method1 mocks base method.
func (m *MockWithDotImports) Method1() Request {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Method1")
ret0, _ := ret[0].(Request)
return ret0
}
// Method1 indicates an expected call of Method1.
func (mr *MockWithDotImportsMockRecorder) Method1() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Method1", reflect.TypeOf((*MockWithDotImports)(nil).Method1))
}
// Method2 mocks base method.
func (m *MockWithDotImports) Method2() *bytes.Buffer {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Method2")
ret0, _ := ret[0].(*bytes.Buffer)
return ret0
}
// Method2 indicates an expected call of Method2.
func (mr *MockWithDotImportsMockRecorder) Method2() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Method2", reflect.TypeOf((*MockWithDotImports)(nil).Method2))
}
// Method3 mocks base method.
func (m *MockWithDotImports) Method3() Context {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Method3")
ret0, _ := ret[0].(Context)
return ret0
}
// Method3 indicates an expected call of Method3.
func (mr *MockWithDotImportsMockRecorder) Method3() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Method3", reflect.TypeOf((*MockWithDotImports)(nil).Method3))
}
|