github.com/hyperledger/aries-framework-go@v0.3.2/pkg/internal/gomocks/controller/command/issuecredential/mocks.gen.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/hyperledger/aries-framework-go/pkg/controller/command/issuecredential (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 connection "github.com/hyperledger/aries-framework-go/pkg/store/connection" 12 ) 13 14 // MockProvider is a mock of Provider interface. 15 type MockProvider struct { 16 ctrl *gomock.Controller 17 recorder *MockProviderMockRecorder 18 } 19 20 // MockProviderMockRecorder is the mock recorder for MockProvider. 21 type MockProviderMockRecorder struct { 22 mock *MockProvider 23 } 24 25 // NewMockProvider creates a new mock instance. 26 func NewMockProvider(ctrl *gomock.Controller) *MockProvider { 27 mock := &MockProvider{ctrl: ctrl} 28 mock.recorder = &MockProviderMockRecorder{mock} 29 return mock 30 } 31 32 // EXPECT returns an object that allows the caller to indicate expected use. 33 func (m *MockProvider) EXPECT() *MockProviderMockRecorder { 34 return m.recorder 35 } 36 37 // ConnectionLookup mocks base method. 38 func (m *MockProvider) ConnectionLookup() *connection.Lookup { 39 m.ctrl.T.Helper() 40 ret := m.ctrl.Call(m, "ConnectionLookup") 41 ret0, _ := ret[0].(*connection.Lookup) 42 return ret0 43 } 44 45 // ConnectionLookup indicates an expected call of ConnectionLookup. 46 func (mr *MockProviderMockRecorder) ConnectionLookup() *gomock.Call { 47 mr.mock.ctrl.T.Helper() 48 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionLookup", reflect.TypeOf((*MockProvider)(nil).ConnectionLookup)) 49 } 50 51 // Service mocks base method. 52 func (m *MockProvider) Service(arg0 string) (interface{}, error) { 53 m.ctrl.T.Helper() 54 ret := m.ctrl.Call(m, "Service", arg0) 55 ret0, _ := ret[0].(interface{}) 56 ret1, _ := ret[1].(error) 57 return ret0, ret1 58 } 59 60 // Service indicates an expected call of Service. 61 func (mr *MockProviderMockRecorder) Service(arg0 interface{}) *gomock.Call { 62 mr.mock.ctrl.T.Helper() 63 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Service", reflect.TypeOf((*MockProvider)(nil).Service), arg0) 64 }