summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/mockgen/tests/custom_package_name/greeter/greeter_mock_test.go
blob: 0bf0f46f4e6fdcaf018de3ad924c648139503a95 (plain)
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
// Code generated by MockGen. DO NOT EDIT.
// Source: greeter.go

// Package greeter is a generated GoMock package.
package greeter

import (
	gomock "github.com/golang/mock/gomock"
	v1 "github.com/golang/mock/mockgen/tests/custom_package_name/client/v1"
	reflect "reflect"
)

// MockInputMaker is a mock of InputMaker interface
type MockInputMaker struct {
	ctrl     *gomock.Controller
	recorder *MockInputMakerMockRecorder
}

// MockInputMakerMockRecorder is the mock recorder for MockInputMaker
type MockInputMakerMockRecorder struct {
	mock *MockInputMaker
}

// NewMockInputMaker creates a new mock instance
func NewMockInputMaker(ctrl *gomock.Controller) *MockInputMaker {
	mock := &MockInputMaker{ctrl: ctrl}
	mock.recorder = &MockInputMakerMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockInputMaker) EXPECT() *MockInputMakerMockRecorder {
	return m.recorder
}

// MakeInput mocks base method
func (m *MockInputMaker) MakeInput() v1.GreetInput {
	ret := m.ctrl.Call(m, "MakeInput")
	ret0, _ := ret[0].(v1.GreetInput)
	return ret0
}

// MakeInput indicates an expected call of MakeInput
func (mr *MockInputMakerMockRecorder) MakeInput() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeInput", reflect.TypeOf((*MockInputMaker)(nil).MakeInput))
}