summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/gomock/mock_matcher/mock_matcher.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-07-24 14:35:44 +0200
committerDimitri Sokolyuk <demon@dim13.org>2018-07-24 14:35:44 +0200
commit621e49bb465f500cc46d47e39e828cf76d6381d7 (patch)
treee9d6ed54cfae73209f2b0d9a016ef0b64adf45a6 /vendor/github.com/golang/mock/gomock/mock_matcher/mock_matcher.go
parent5b9a4a158b81aa6e94a5a56d0851bea938b87bef (diff)
update vendor
Diffstat (limited to 'vendor/github.com/golang/mock/gomock/mock_matcher/mock_matcher.go')
-rw-r--r--vendor/github.com/golang/mock/gomock/mock_matcher/mock_matcher.go57
1 files changed, 57 insertions, 0 deletions
diff --git a/vendor/github.com/golang/mock/gomock/mock_matcher/mock_matcher.go b/vendor/github.com/golang/mock/gomock/mock_matcher/mock_matcher.go
new file mode 100644
index 0000000..7e4b4c8
--- /dev/null
+++ b/vendor/github.com/golang/mock/gomock/mock_matcher/mock_matcher.go
@@ -0,0 +1,57 @@
+// Code generated by MockGen. DO NOT EDIT.
+// Source: github.com/golang/mock/gomock (interfaces: Matcher)
+
+// Package mock_gomock is a generated GoMock package.
+package mock_gomock
+
+import (
+ gomock "github.com/golang/mock/gomock"
+ reflect "reflect"
+)
+
+// MockMatcher is a mock of Matcher interface
+type MockMatcher struct {
+ ctrl *gomock.Controller
+ recorder *MockMatcherMockRecorder
+}
+
+// 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(arg0 interface{}) bool {
+ ret := m.ctrl.Call(m, "Matches", arg0)
+ ret0, _ := ret[0].(bool)
+ return ret0
+}
+
+// Matches indicates an expected call of Matches
+func (mr *MockMatcherMockRecorder) Matches(arg0 interface{}) *gomock.Call {
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Matches", reflect.TypeOf((*MockMatcher)(nil).Matches), arg0)
+}
+
+// String mocks base method
+func (m *MockMatcher) String() string {
+ 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 {
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "String", reflect.TypeOf((*MockMatcher)(nil).String))
+}