fabric: github.com/hyperledger/fabric/core/handlers/validation/builtin/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/core/handlers/validation/builtin/mocks"

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Package Files

transaction_validator.go

type TransactionValidator Uses

type TransactionValidator struct {
    mock.Mock
}

TransactionValidator is an autogenerated mock type for the TransactionValidator type

func (*TransactionValidator) Validate Uses

func (_m *TransactionValidator) Validate(block *common.Block, namespace string, txPosition int, actionPosition int, policy []byte) errors.TxValidationError

Validate provides a mock function with given fields: block, namespace, txPosition, actionPosition, policy

Package mocks imports 3 packages (graph). Updated 2018-10-19. Refresh now. Tools for package owners.