github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/core/committer/txvalidator/test_utils.go (about)

     1  /*
     2  Copyright hechain. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package txvalidator
     8  
     9  import (
    10  	"github.com/hechain20/hechain/common/channelconfig"
    11  	"github.com/hechain20/hechain/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  }