fabric: github.com/hyperledger/fabric/token/transaction/mock Index | Files

package mock

import "github.com/hyperledger/fabric/token/transaction/mock"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

tms_manager.go tms_tx_processor.go

type TMSManager Uses

type TMSManager struct {
    GetTxProcessorStub func(channel string) (transaction.TMSTxProcessor, error)
    // contains filtered or unexported fields
}

func (*TMSManager) GetTxProcessor Uses

func (fake *TMSManager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)

func (*TMSManager) GetTxProcessorArgsForCall Uses

func (fake *TMSManager) GetTxProcessorArgsForCall(i int) string

func (*TMSManager) GetTxProcessorCallCount Uses

func (fake *TMSManager) GetTxProcessorCallCount() int

func (*TMSManager) GetTxProcessorReturns Uses

func (fake *TMSManager) GetTxProcessorReturns(result1 transaction.TMSTxProcessor, result2 error)

func (*TMSManager) GetTxProcessorReturnsOnCall Uses

func (fake *TMSManager) GetTxProcessorReturnsOnCall(i int, result1 transaction.TMSTxProcessor, result2 error)

func (*TMSManager) Invocations Uses

func (fake *TMSManager) Invocations() map[string][][]interface{}

type TMSTxProcessor Uses

type TMSTxProcessor struct {
    ProcessTxStub func(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error
    // contains filtered or unexported fields
}

func (*TMSTxProcessor) Invocations Uses

func (fake *TMSTxProcessor) Invocations() map[string][][]interface{}

func (*TMSTxProcessor) ProcessTx Uses

func (fake *TMSTxProcessor) ProcessTx(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error

func (*TMSTxProcessor) ProcessTxArgsForCall Uses

func (fake *TMSTxProcessor) ProcessTxArgsForCall(i int) (string, identity.PublicInfo, *token.TokenTransaction, ledger.LedgerWriter)

func (*TMSTxProcessor) ProcessTxCallCount Uses

func (fake *TMSTxProcessor) ProcessTxCallCount() int

func (*TMSTxProcessor) ProcessTxReturns Uses

func (fake *TMSTxProcessor) ProcessTxReturns(result1 error)

func (*TMSTxProcessor) ProcessTxReturnsOnCall Uses

func (fake *TMSTxProcessor) ProcessTxReturnsOnCall(i int, result1 error)

Package mock imports 5 packages (graph). Updated 2018-12-11. Refresh now. Tools for package owners.