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.
 
 
 

62 lines
1.7 KiB

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