1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
// Code generated by MockGen. DO NOT EDIT.
// Source: go.uber.org/mock/gomock (interfaces: Matcher)
//
// Generated by this command:
//
// mockgen -destination internal/mock_gomock/mock_matcher.go go.uber.org/mock/gomock Matcher
//
// Package mock_gomock is a generated GoMock package.
package mock_gomock
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockMatcher is a mock of Matcher interface.
type MockMatcher struct {
ctrl *gomock.Controller
recorder *MockMatcherMockRecorder
isgomock struct{}
}
// MockMatcherMockRecorder is the mock recorder for MockMatcher.
type MockMatcherMockRecorder struct {
mock *MockMatcher
}
// NewMockMatcher creates a new mock instance.
func NewMockMatcher(ctrl *gomock.Controller) *MockMatcher {
mock := &MockMatcher{ctrl: ctrl}
mock.recorder = &MockMatcherMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockMatcher) EXPECT() *MockMatcherMockRecorder {
return m.recorder
}
// Matches mocks base method.
func (m *MockMatcher) Matches(x any) bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Matches", x)
ret0, _ := ret[0].(bool)
return ret0
}
// Matches indicates an expected call of Matches.
func (mr *MockMatcherMockRecorder) Matches(x any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Matches", reflect.TypeOf((*MockMatcher)(nil).Matches), x)
}
// String mocks base method.
func (m *MockMatcher) String() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "String")
ret0, _ := ret[0].(string)
return ret0
}
// String indicates an expected call of String.
func (mr *MockMatcherMockRecorder) String() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "String", reflect.TypeOf((*MockMatcher)(nil).String))
}
|