50 lines
1.1 KiB
Go
50 lines
1.1 KiB
Go
|
// Automatically generated by MockGen. DO NOT EDIT!
|
||
|
// Source: github.com/golang/mock/gomock (interfaces: Matcher)
|
||
|
|
||
|
package mock_gomock
|
||
|
|
||
|
import (
|
||
|
gomock "github.com/golang/mock/gomock"
|
||
|
)
|
||
|
|
||
|
// Mock of Matcher interface
|
||
|
type MockMatcher struct {
|
||
|
ctrl *gomock.Controller
|
||
|
recorder *_MockMatcherRecorder
|
||
|
}
|
||
|
|
||
|
// Recorder for MockMatcher (not exported)
|
||
|
type _MockMatcherRecorder struct {
|
||
|
mock *MockMatcher
|
||
|
}
|
||
|
|
||
|
func NewMockMatcher(ctrl *gomock.Controller) *MockMatcher {
|
||
|
mock := &MockMatcher{ctrl: ctrl}
|
||
|
mock.recorder = &_MockMatcherRecorder{mock}
|
||
|
return mock
|
||
|
}
|
||
|
|
||
|
func (_m *MockMatcher) EXPECT() *_MockMatcherRecorder {
|
||
|
return _m.recorder
|
||
|
}
|
||
|
|
||
|
func (_m *MockMatcher) Matches(_param0 interface{}) bool {
|
||
|
ret := _m.ctrl.Call(_m, "Matches", _param0)
|
||
|
ret0, _ := ret[0].(bool)
|
||
|
return ret0
|
||
|
}
|
||
|
|
||
|
func (_mr *_MockMatcherRecorder) Matches(arg0 interface{}) *gomock.Call {
|
||
|
return _mr.mock.ctrl.RecordCall(_mr.mock, "Matches", arg0)
|
||
|
}
|
||
|
|
||
|
func (_m *MockMatcher) String() string {
|
||
|
ret := _m.ctrl.Call(_m, "String")
|
||
|
ret0, _ := ret[0].(string)
|
||
|
return ret0
|
||
|
}
|
||
|
|
||
|
func (_mr *_MockMatcherRecorder) String() *gomock.Call {
|
||
|
return _mr.mock.ctrl.RecordCall(_mr.mock, "String")
|
||
|
}
|