forked from hyperledger/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reconciliation_fetcher.go
36 lines (29 loc) · 1.01 KB
/
reconciliation_fetcher.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
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
common "github.com/hyperledger/fabric/gossip/privdata/common"
mock "github.com/stretchr/testify/mock"
)
// ReconciliationFetcher is an autogenerated mock type for the ReconciliationFetcher type
type ReconciliationFetcher struct {
mock.Mock
}
// FetchReconciledItems provides a mock function with given fields: dig2collectionConfig
func (_m *ReconciliationFetcher) FetchReconciledItems(dig2collectionConfig common.Dig2CollectionConfig) (*common.FetchedPvtDataContainer, error) {
ret := _m.Called(dig2collectionConfig)
var r0 *common.FetchedPvtDataContainer
if rf, ok := ret.Get(0).(func(common.Dig2CollectionConfig) *common.FetchedPvtDataContainer); ok {
r0 = rf(dig2collectionConfig)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*common.FetchedPvtDataContainer)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(common.Dig2CollectionConfig) error); ok {
r1 = rf(dig2collectionConfig)
} else {
r1 = ret.Error(1)
}
return r0, r1
}