Capabilities is an autogenerated mock type for the Capabilities type
type Capabilities struct { mock.Mock }
func (_m *Capabilities) ACLs() bool
ACLs provides a mock function with given fields:
func (_m *Capabilities) CollectionUpgrade() bool
CollectionUpgrade provides a mock function with given fields:
func (_m *Capabilities) FabToken() bool
FabToken provides a mock function with given fields:
func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool
ForbidDuplicateTXIdInBlock provides a mock function with given fields:
func (_m *Capabilities) KeyLevelEndorsement() bool
KeyLevelEndorsement provides a mock function with given fields:
func (_m *Capabilities) MetadataLifecycle() bool
MetadataLifecycle provides a mock function with given fields:
func (_m *Capabilities) PrivateChannelData() bool
PrivateChannelData provides a mock function with given fields:
func (_m *Capabilities) StorePvtDataOfInvalidTx() bool
StorePvtDataOfInvalidTx provides a mock function with given fields:
func (_m *Capabilities) Supported() error
Supported provides a mock function with given fields:
func (_m *Capabilities) V1_1Validation() bool
V1_1Validation provides a mock function with given fields:
func (_m *Capabilities) V1_2Validation() bool
V1_2Validation provides a mock function with given fields:
func (_m *Capabilities) V1_3Validation() bool
V1_3Validation provides a mock function with given fields:
IdentityDeserializer is an autogenerated mock type for the IdentityDeserializer type
type IdentityDeserializer struct { mock.Mock }
func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (validation.Identity, error)
DeserializeIdentity provides a mock function with given fields: serializedIdentity
PolicyEvaluator is an autogenerated mock type for the PolicyEvaluator type
type PolicyEvaluator struct { mock.Mock }
func (_m *PolicyEvaluator) Evaluate(policyBytes []byte, signatureSet []*common.SignedData) error
Evaluate provides a mock function with given fields: policyBytes, signatureSet
StateFetcher is an autogenerated mock type for the StateFetcher type
type StateFetcher struct { mock.Mock }
func (_m *StateFetcher) FetchState() (validation.State, error)
FetchState provides a mock function with given fields: