From 621e49bb465f500cc46d47e39e828cf76d6381d7 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 24 Jul 2018 14:35:44 +0200 Subject: update vendor --- .../tests/unexported_method/bugreport_mock.go | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport_mock.go (limited to 'vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport_mock.go') 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) +} -- cgit v1.2.3