...

Package mock

import "github.com/hyperledger/fabric/core/ledger/pvtdatapolicy/mock"
Overview
Index

Overview ▾

Code generated by counterfeiter. DO NOT EDIT.

type CollectionInfoProvider

type CollectionInfoProvider struct {
    CollectionInfoStub func(chaincodeName, collectionName string) (*common.StaticCollectionConfig, error)
    // contains filtered or unexported fields
}

func (*CollectionInfoProvider) CollectionInfo

func (fake *CollectionInfoProvider) CollectionInfo(chaincodeName string, collectionName string) (*common.StaticCollectionConfig, error)

func (*CollectionInfoProvider) CollectionInfoArgsForCall

func (fake *CollectionInfoProvider) CollectionInfoArgsForCall(i int) (string, string)

func (*CollectionInfoProvider) CollectionInfoCallCount

func (fake *CollectionInfoProvider) CollectionInfoCallCount() int

func (*CollectionInfoProvider) CollectionInfoReturns

func (fake *CollectionInfoProvider) CollectionInfoReturns(result1 *common.StaticCollectionConfig, result2 error)

func (*CollectionInfoProvider) CollectionInfoReturnsOnCall

func (fake *CollectionInfoProvider) CollectionInfoReturnsOnCall(i int, result1 *common.StaticCollectionConfig, result2 error)

func (*CollectionInfoProvider) Invocations

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