github.com/kaituanwang/hyperledger@v2.0.1+incompatible/core/committer/txvalidator/test_utils.go (about) 1 /* 2 Copyright IBM Corp. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 package txvalidator 8 9 import ( 10 "github.com/hyperledger/fabric/common/channelconfig" 11 "github.com/hyperledger/fabric/core/ledger" 12 ) 13 14 //go:generate mockery -dir . -name ApplicationCapabilities -case underscore -output mocks 15 16 type ApplicationCapabilities interface { 17 channelconfig.ApplicationCapabilities 18 } 19 20 //go:generate mockery -dir . -name QueryExecutor -case underscore -output mocks 21 22 type QueryExecutor interface { 23 ledger.QueryExecutor 24 }