summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport_mock.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport_mock.go')
-rw-r--r--vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport_mock.go45
1 files changed, 45 insertions, 0 deletions
diff --git a/vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport_mock.go b/vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport_mock.go
new file mode 100644
index 0000000..8ba218f
--- /dev/null
+++ b/vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport_mock.go
@@ -0,0 +1,45 @@
+// Code generated by MockGen. DO NOT EDIT.
+// Source: bugreport.go
+
+// Package bugreport is a generated GoMock package.
+package bugreport
+
+import (
+ gomock "github.com/golang/mock/gomock"
+ reflect "reflect"
+)
+
+// MockExample is a mock of Example interface
+type MockExample struct {
+ ctrl *gomock.Controller
+ recorder *MockExampleMockRecorder
+}
+
+// MockExampleMockRecorder is the mock recorder for MockExample
+type MockExampleMockRecorder struct {
+ mock *MockExample
+}
+
+// NewMockExample creates a new mock instance
+func NewMockExample(ctrl *gomock.Controller) *MockExample {
+ mock := &MockExample{ctrl: ctrl}
+ mock.recorder = &MockExampleMockRecorder{mock}
+ return mock
+}
+
+// EXPECT returns an object that allows the caller to indicate expected use
+func (m *MockExample) EXPECT() *MockExampleMockRecorder {
+ return m.recorder
+}
+
+// someMethod mocks base method
+func (m *MockExample) someMethod(arg0 string) string {
+ ret := m.ctrl.Call(m, "someMethod", arg0)
+ ret0, _ := ret[0].(string)
+ return ret0
+}
+
+// someMethod indicates an expected call of someMethod
+func (mr *MockExampleMockRecorder) someMethod(arg0 interface{}) *gomock.Call {
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "someMethod", reflect.TypeOf((*MockExample)(nil).someMethod), arg0)
+}