forked from hyperledger/fabric
-
Notifications
You must be signed in to change notification settings - Fork 3
/
lifecycle_resources.go
50 lines (41 loc) · 1.34 KB
/
lifecycle_resources.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
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
ledger "github.com/hyperledger/fabric/core/ledger"
mock "github.com/stretchr/testify/mock"
)
// LifecycleResources is an autogenerated mock type for the LifecycleResources type
type LifecycleResources struct {
mock.Mock
}
// ValidationInfo provides a mock function with given fields: channelID, chaincodeName, qe
func (_m *LifecycleResources) ValidationInfo(channelID string, chaincodeName string, qe ledger.SimpleQueryExecutor) (string, []byte, error, error) {
ret := _m.Called(channelID, chaincodeName, qe)
var r0 string
if rf, ok := ret.Get(0).(func(string, string, ledger.SimpleQueryExecutor) string); ok {
r0 = rf(channelID, chaincodeName, qe)
} else {
r0 = ret.Get(0).(string)
}
var r1 []byte
if rf, ok := ret.Get(1).(func(string, string, ledger.SimpleQueryExecutor) []byte); ok {
r1 = rf(channelID, chaincodeName, qe)
} else {
if ret.Get(1) != nil {
r1 = ret.Get(1).([]byte)
}
}
var r2 error
if rf, ok := ret.Get(2).(func(string, string, ledger.SimpleQueryExecutor) error); ok {
r2 = rf(channelID, chaincodeName, qe)
} else {
r2 = ret.Error(2)
}
var r3 error
if rf, ok := ret.Get(3).(func(string, string, ledger.SimpleQueryExecutor) error); ok {
r3 = rf(channelID, chaincodeName, qe)
} else {
r3 = ret.Error(3)
}
return r0, r1, r2, r3
}