github.com/golang/mock@v1.6.0/mockgen/internal/tests/missing_import/output/source_mock.go (about)

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