github.com/sykesm/fabric@v1.1.0-preview.0.20200129034918-2aa12b1a0181/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 etcdraft "github.com/hyperledger/fabric/orderer/consensus/etcdraft" 8 9 mock "github.com/stretchr/testify/mock" 10 ) 11 12 // InactiveChainRegistry is an autogenerated mock type for the InactiveChainRegistry type 13 type InactiveChainRegistry struct { 14 mock.Mock 15 } 16 17 // TrackChain provides a mock function with given fields: chainName, genesisBlock, createChain 18 func (_m *InactiveChainRegistry) TrackChain(chainName string, genesisBlock *common.Block, createChain etcdraft.CreateChainCallback) { 19 _m.Called(chainName, genesisBlock, createChain) 20 }