You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
1.1 KiB

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