github.com/defanghe/fabric@v2.1.1+incompatible/orderer/consensus/etcdraft/mocks/inactive_chain_registry.go (about) 1 // Code generated by mockery v1.0.0. DO NOT EDIT. 2 3 package mocks 4 5 import ( 6 common "github.com/hyperledger/fabric-protos-go/common" 7 8 mock "github.com/stretchr/testify/mock" 9 ) 10 11 // InactiveChainRegistry is an autogenerated mock type for the InactiveChainRegistry type 12 type InactiveChainRegistry struct { 13 mock.Mock 14 } 15 16 // TrackChain provides a mock function with given fields: chainName, genesisBlock, createChain 17 func (_m *InactiveChainRegistry) TrackChain(chainName string, genesisBlock *common.Block, createChain func()) { 18 _m.Called(chainName, genesisBlock, createChain) 19 }