forked from hyperledger-archives/aries-framework-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mocks.go
63 lines (53 loc) · 2.06 KB
/
mocks.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/hyperledger/aries-framework-go/pkg/didcomm/messenger (interfaces: Provider)
// Package mocks is a generated GoMock package.
package mocks
import (
gomock "github.com/golang/mock/gomock"
dispatcher "github.com/Universal-Health-Chain/aries-framework-go/pkg/didcomm/dispatcher"
storage "github.com/Universal-Health-Chain/aries-framework-go/pkg/storage"
reflect "reflect"
)
// MockProvider is a mock of Provider interface
type MockProvider struct {
ctrl *gomock.Controller
recorder *MockProviderMockRecorder
}
// MockProviderMockRecorder is the mock recorder for MockProvider
type MockProviderMockRecorder struct {
mock *MockProvider
}
// NewMockProvider creates a new mock instance
func NewMockProvider(ctrl *gomock.Controller) *MockProvider {
mock := &MockProvider{ctrl: ctrl}
mock.recorder = &MockProviderMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockProvider) EXPECT() *MockProviderMockRecorder {
return m.recorder
}
// OutboundDispatcher mocks base method
func (m *MockProvider) OutboundDispatcher() dispatcher.Outbound {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "OutboundDispatcher")
ret0, _ := ret[0].(dispatcher.Outbound)
return ret0
}
// OutboundDispatcher indicates an expected call of OutboundDispatcher
func (mr *MockProviderMockRecorder) OutboundDispatcher() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OutboundDispatcher", reflect.TypeOf((*MockProvider)(nil).OutboundDispatcher))
}
// StorageProvider mocks base method
func (m *MockProvider) StorageProvider() storage.Provider {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StorageProvider")
ret0, _ := ret[0].(storage.Provider)
return ret0
}
// StorageProvider indicates an expected call of StorageProvider
func (mr *MockProviderMockRecorder) StorageProvider() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StorageProvider", reflect.TypeOf((*MockProvider)(nil).StorageProvider))
}