github.com/hyperledger/aries-framework-go@v0.3.2/pkg/internal/gomocks/didcomm/protocol/introduce/mocks.gen.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/hyperledger/aries-framework-go/pkg/didcomm/protocol/introduce (interfaces: Provider) 3 4 // Package mocks is a generated GoMock package. 5 package mocks 6 7 import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11 service "github.com/hyperledger/aries-framework-go/pkg/didcomm/common/service" 12 storage "github.com/hyperledger/aries-framework-go/spi/storage" 13 ) 14 15 // MockProvider is a mock of Provider interface. 16 type MockProvider struct { 17 ctrl *gomock.Controller 18 recorder *MockProviderMockRecorder 19 } 20 21 // MockProviderMockRecorder is the mock recorder for MockProvider. 22 type MockProviderMockRecorder struct { 23 mock *MockProvider 24 } 25 26 // NewMockProvider creates a new mock instance. 27 func NewMockProvider(ctrl *gomock.Controller) *MockProvider { 28 mock := &MockProvider{ctrl: ctrl} 29 mock.recorder = &MockProviderMockRecorder{mock} 30 return mock 31 } 32 33 // EXPECT returns an object that allows the caller to indicate expected use. 34 func (m *MockProvider) EXPECT() *MockProviderMockRecorder { 35 return m.recorder 36 } 37 38 // Messenger mocks base method. 39 func (m *MockProvider) Messenger() service.Messenger { 40 m.ctrl.T.Helper() 41 ret := m.ctrl.Call(m, "Messenger") 42 ret0, _ := ret[0].(service.Messenger) 43 return ret0 44 } 45 46 // Messenger indicates an expected call of Messenger. 47 func (mr *MockProviderMockRecorder) Messenger() *gomock.Call { 48 mr.mock.ctrl.T.Helper() 49 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Messenger", reflect.TypeOf((*MockProvider)(nil).Messenger)) 50 } 51 52 // Service mocks base method. 53 func (m *MockProvider) Service(arg0 string) (interface{}, error) { 54 m.ctrl.T.Helper() 55 ret := m.ctrl.Call(m, "Service", arg0) 56 ret0, _ := ret[0].(interface{}) 57 ret1, _ := ret[1].(error) 58 return ret0, ret1 59 } 60 61 // Service indicates an expected call of Service. 62 func (mr *MockProviderMockRecorder) Service(arg0 interface{}) *gomock.Call { 63 mr.mock.ctrl.T.Helper() 64 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Service", reflect.TypeOf((*MockProvider)(nil).Service), arg0) 65 } 66 67 // StorageProvider mocks base method. 68 func (m *MockProvider) StorageProvider() storage.Provider { 69 m.ctrl.T.Helper() 70 ret := m.ctrl.Call(m, "StorageProvider") 71 ret0, _ := ret[0].(storage.Provider) 72 return ret0 73 } 74 75 // StorageProvider indicates an expected call of StorageProvider. 76 func (mr *MockProviderMockRecorder) StorageProvider() *gomock.Call { 77 mr.mock.ctrl.T.Helper() 78 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StorageProvider", reflect.TypeOf((*MockProvider)(nil).StorageProvider)) 79 }