github.com/golang/mock@v1.6.0/mockgen/internal/tests/import_source/definition/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  )
    12  
    13  // MockS is a mock of S interface.
    14  type MockS struct {
    15  	ctrl     *gomock.Controller
    16  	recorder *MockSMockRecorder
    17  }
    18  
    19  // MockSMockRecorder is the mock recorder for MockS.
    20  type MockSMockRecorder struct {
    21  	mock *MockS
    22  }
    23  
    24  // NewMockS creates a new mock instance.
    25  func NewMockS(ctrl *gomock.Controller) *MockS {
    26  	mock := &MockS{ctrl: ctrl}
    27  	mock.recorder = &MockSMockRecorder{mock}
    28  	return mock
    29  }
    30  
    31  // EXPECT returns an object that allows the caller to indicate expected use.
    32  func (m *MockS) EXPECT() *MockSMockRecorder {
    33  	return m.recorder
    34  }
    35  
    36  // F mocks base method.
    37  func (m *MockS) F(arg0 X) {
    38  	m.ctrl.T.Helper()
    39  	m.ctrl.Call(m, "F", arg0)
    40  }
    41  
    42  // F indicates an expected call of F.
    43  func (mr *MockSMockRecorder) F(arg0 interface{}) *gomock.Call {
    44  	mr.mock.ctrl.T.Helper()
    45  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "F", reflect.TypeOf((*MockS)(nil).F), arg0)
    46  }