github.com/golang/mock@v1.6.0/mockgen/internal/tests/custom_package_name/greeter/greeter_mock_test.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: greeter.go
     3  
     4  // Package greeter is a generated GoMock package.
     5  package greeter
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  	client "github.com/golang/mock/mockgen/internal/tests/custom_package_name/client/v1"
    12  )
    13  
    14  // MockInputMaker is a mock of InputMaker interface.
    15  type MockInputMaker struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockInputMakerMockRecorder
    18  }
    19  
    20  // MockInputMakerMockRecorder is the mock recorder for MockInputMaker.
    21  type MockInputMakerMockRecorder struct {
    22  	mock *MockInputMaker
    23  }
    24  
    25  // NewMockInputMaker creates a new mock instance.
    26  func NewMockInputMaker(ctrl *gomock.Controller) *MockInputMaker {
    27  	mock := &MockInputMaker{ctrl: ctrl}
    28  	mock.recorder = &MockInputMakerMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockInputMaker) EXPECT() *MockInputMakerMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // MakeInput mocks base method.
    38  func (m *MockInputMaker) MakeInput() client.GreetInput {
    39  	m.ctrl.T.Helper()
    40  	ret := m.ctrl.Call(m, "MakeInput")
    41  	ret0, _ := ret[0].(client.GreetInput)
    42  	return ret0
    43  }
    44  
    45  // MakeInput indicates an expected call of MakeInput.
    46  func (mr *MockInputMakerMockRecorder) MakeInput() *gomock.Call {
    47  	mr.mock.ctrl.T.Helper()
    48  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeInput", reflect.TypeOf((*MockInputMaker)(nil).MakeInput))
    49  }