mock

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueAction

type IssueAction struct {
	GetIssuerStub func() []byte

	GetMetadataStub func() map[string][]byte

	GetSerializedOutputsStub func() ([][]byte, error)

	IsAnonymousStub func() bool

	NumOutputsStub func() int

	SerializeStub func() ([]byte, error)
	// contains filtered or unexported fields
}

func (*IssueAction) GetIssuer

func (fake *IssueAction) GetIssuer() []byte

func (*IssueAction) GetIssuerCallCount

func (fake *IssueAction) GetIssuerCallCount() int

func (*IssueAction) GetIssuerCalls

func (fake *IssueAction) GetIssuerCalls(stub func() []byte)

func (*IssueAction) GetIssuerReturns

func (fake *IssueAction) GetIssuerReturns(result1 []byte)

func (*IssueAction) GetIssuerReturnsOnCall

func (fake *IssueAction) GetIssuerReturnsOnCall(i int, result1 []byte)

func (*IssueAction) GetMetadata

func (fake *IssueAction) GetMetadata() map[string][]byte

func (*IssueAction) GetMetadataCallCount

func (fake *IssueAction) GetMetadataCallCount() int

func (*IssueAction) GetMetadataCalls

func (fake *IssueAction) GetMetadataCalls(stub func() map[string][]byte)

func (*IssueAction) GetMetadataReturns

func (fake *IssueAction) GetMetadataReturns(result1 map[string][]byte)

func (*IssueAction) GetMetadataReturnsOnCall

func (fake *IssueAction) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)

func (*IssueAction) GetSerializedOutputs

func (fake *IssueAction) GetSerializedOutputs() ([][]byte, error)

func (*IssueAction) GetSerializedOutputsCallCount

func (fake *IssueAction) GetSerializedOutputsCallCount() int

func (*IssueAction) GetSerializedOutputsCalls

func (fake *IssueAction) GetSerializedOutputsCalls(stub func() ([][]byte, error))

func (*IssueAction) GetSerializedOutputsReturns

func (fake *IssueAction) GetSerializedOutputsReturns(result1 [][]byte, result2 error)

func (*IssueAction) GetSerializedOutputsReturnsOnCall

func (fake *IssueAction) GetSerializedOutputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*IssueAction) Invocations

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

func (*IssueAction) IsAnonymous

func (fake *IssueAction) IsAnonymous() bool

func (*IssueAction) IsAnonymousCallCount

func (fake *IssueAction) IsAnonymousCallCount() int

func (*IssueAction) IsAnonymousCalls

func (fake *IssueAction) IsAnonymousCalls(stub func() bool)

func (*IssueAction) IsAnonymousReturns

func (fake *IssueAction) IsAnonymousReturns(result1 bool)

func (*IssueAction) IsAnonymousReturnsOnCall

func (fake *IssueAction) IsAnonymousReturnsOnCall(i int, result1 bool)

func (*IssueAction) NumOutputs

func (fake *IssueAction) NumOutputs() int

func (*IssueAction) NumOutputsCallCount

func (fake *IssueAction) NumOutputsCallCount() int

func (*IssueAction) NumOutputsCalls

func (fake *IssueAction) NumOutputsCalls(stub func() int)

func (*IssueAction) NumOutputsReturns

func (fake *IssueAction) NumOutputsReturns(result1 int)

func (*IssueAction) NumOutputsReturnsOnCall

func (fake *IssueAction) NumOutputsReturnsOnCall(i int, result1 int)

func (*IssueAction) Serialize

func (fake *IssueAction) Serialize() ([]byte, error)

func (*IssueAction) SerializeCallCount

func (fake *IssueAction) SerializeCallCount() int

func (*IssueAction) SerializeCalls

func (fake *IssueAction) SerializeCalls(stub func() ([]byte, error))

func (*IssueAction) SerializeReturns

func (fake *IssueAction) SerializeReturns(result1 []byte, result2 error)

func (*IssueAction) SerializeReturnsOnCall

func (fake *IssueAction) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

type RWSet

type RWSet struct {
	DeleteStateStub func(string, string) error

	EqualsStub func(interface{}, string) error

	GetStateStub func(string, string) ([]byte, error)

	SetStateStub func(string, string, []byte) error
	// contains filtered or unexported fields
}

func (*RWSet) DeleteState

func (fake *RWSet) DeleteState(arg1 string, arg2 string) error

func (*RWSet) DeleteStateArgsForCall

func (fake *RWSet) DeleteStateArgsForCall(i int) (string, string)

func (*RWSet) DeleteStateCallCount

func (fake *RWSet) DeleteStateCallCount() int

func (*RWSet) DeleteStateCalls

func (fake *RWSet) DeleteStateCalls(stub func(string, string) error)

func (*RWSet) DeleteStateReturns

func (fake *RWSet) DeleteStateReturns(result1 error)

func (*RWSet) DeleteStateReturnsOnCall

func (fake *RWSet) DeleteStateReturnsOnCall(i int, result1 error)

func (*RWSet) Equals

func (fake *RWSet) Equals(arg1 interface{}, arg2 string) error

func (*RWSet) EqualsArgsForCall

func (fake *RWSet) EqualsArgsForCall(i int) (interface{}, string)

func (*RWSet) EqualsCallCount

func (fake *RWSet) EqualsCallCount() int

func (*RWSet) EqualsCalls

func (fake *RWSet) EqualsCalls(stub func(interface{}, string) error)

func (*RWSet) EqualsReturns

func (fake *RWSet) EqualsReturns(result1 error)

func (*RWSet) EqualsReturnsOnCall

func (fake *RWSet) EqualsReturnsOnCall(i int, result1 error)

func (*RWSet) GetState

func (fake *RWSet) GetState(arg1 string, arg2 string) ([]byte, error)

func (*RWSet) GetStateArgsForCall

func (fake *RWSet) GetStateArgsForCall(i int) (string, string)

func (*RWSet) GetStateCallCount

func (fake *RWSet) GetStateCallCount() int

func (*RWSet) GetStateCalls

func (fake *RWSet) GetStateCalls(stub func(string, string) ([]byte, error))

func (*RWSet) GetStateReturns

func (fake *RWSet) GetStateReturns(result1 []byte, result2 error)

func (*RWSet) GetStateReturnsOnCall

func (fake *RWSet) GetStateReturnsOnCall(i int, result1 []byte, result2 error)

func (*RWSet) Invocations

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

func (*RWSet) SetState

func (fake *RWSet) SetState(arg1 string, arg2 string, arg3 []byte) error

func (*RWSet) SetStateArgsForCall

func (fake *RWSet) SetStateArgsForCall(i int) (string, string, []byte)

func (*RWSet) SetStateCallCount

func (fake *RWSet) SetStateCallCount() int

func (*RWSet) SetStateCalls

func (fake *RWSet) SetStateCalls(stub func(string, string, []byte) error)

func (*RWSet) SetStateReturns

func (fake *RWSet) SetStateReturns(result1 error)

func (*RWSet) SetStateReturnsOnCall

func (fake *RWSet) SetStateReturnsOnCall(i int, result1 error)

type TransferAction

type TransferAction struct {
	GetInputsStub func() ([]string, error)

	GetMetadataStub func() map[string][]byte

	GetSerializedOutputsStub func() ([][]byte, error)

	IsGraphHidingStub func() bool

	IsRedeemAtStub func(int) bool

	NumOutputsStub func() int

	SerializeStub func() ([]byte, error)

	SerializeOutputAtStub func(int) ([]byte, error)
	// contains filtered or unexported fields
}

func (*TransferAction) GetInputs

func (fake *TransferAction) GetInputs() ([]string, error)

func (*TransferAction) GetInputsCallCount

func (fake *TransferAction) GetInputsCallCount() int

func (*TransferAction) GetInputsCalls

func (fake *TransferAction) GetInputsCalls(stub func() ([]string, error))

func (*TransferAction) GetInputsReturns

func (fake *TransferAction) GetInputsReturns(result1 []string, result2 error)

func (*TransferAction) GetInputsReturnsOnCall

func (fake *TransferAction) GetInputsReturnsOnCall(i int, result1 []string, result2 error)

func (*TransferAction) GetMetadata

func (fake *TransferAction) GetMetadata() map[string][]byte

func (*TransferAction) GetMetadataCallCount

func (fake *TransferAction) GetMetadataCallCount() int

func (*TransferAction) GetMetadataCalls

func (fake *TransferAction) GetMetadataCalls(stub func() map[string][]byte)

func (*TransferAction) GetMetadataReturns

func (fake *TransferAction) GetMetadataReturns(result1 map[string][]byte)

func (*TransferAction) GetMetadataReturnsOnCall

func (fake *TransferAction) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)

func (*TransferAction) GetSerializedOutputs

func (fake *TransferAction) GetSerializedOutputs() ([][]byte, error)

func (*TransferAction) GetSerializedOutputsCallCount

func (fake *TransferAction) GetSerializedOutputsCallCount() int

func (*TransferAction) GetSerializedOutputsCalls

func (fake *TransferAction) GetSerializedOutputsCalls(stub func() ([][]byte, error))

func (*TransferAction) GetSerializedOutputsReturns

func (fake *TransferAction) GetSerializedOutputsReturns(result1 [][]byte, result2 error)

func (*TransferAction) GetSerializedOutputsReturnsOnCall

func (fake *TransferAction) GetSerializedOutputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*TransferAction) Invocations

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

func (*TransferAction) IsGraphHiding

func (fake *TransferAction) IsGraphHiding() bool

func (*TransferAction) IsGraphHidingCallCount

func (fake *TransferAction) IsGraphHidingCallCount() int

func (*TransferAction) IsGraphHidingCalls

func (fake *TransferAction) IsGraphHidingCalls(stub func() bool)

func (*TransferAction) IsGraphHidingReturns

func (fake *TransferAction) IsGraphHidingReturns(result1 bool)

func (*TransferAction) IsGraphHidingReturnsOnCall

func (fake *TransferAction) IsGraphHidingReturnsOnCall(i int, result1 bool)

func (*TransferAction) IsRedeemAt

func (fake *TransferAction) IsRedeemAt(arg1 int) bool

func (*TransferAction) IsRedeemAtArgsForCall

func (fake *TransferAction) IsRedeemAtArgsForCall(i int) int

func (*TransferAction) IsRedeemAtCallCount

func (fake *TransferAction) IsRedeemAtCallCount() int

func (*TransferAction) IsRedeemAtCalls

func (fake *TransferAction) IsRedeemAtCalls(stub func(int) bool)

func (*TransferAction) IsRedeemAtReturns

func (fake *TransferAction) IsRedeemAtReturns(result1 bool)

func (*TransferAction) IsRedeemAtReturnsOnCall

func (fake *TransferAction) IsRedeemAtReturnsOnCall(i int, result1 bool)

func (*TransferAction) NumOutputs

func (fake *TransferAction) NumOutputs() int

func (*TransferAction) NumOutputsCallCount

func (fake *TransferAction) NumOutputsCallCount() int

func (*TransferAction) NumOutputsCalls

func (fake *TransferAction) NumOutputsCalls(stub func() int)

func (*TransferAction) NumOutputsReturns

func (fake *TransferAction) NumOutputsReturns(result1 int)

func (*TransferAction) NumOutputsReturnsOnCall

func (fake *TransferAction) NumOutputsReturnsOnCall(i int, result1 int)

func (*TransferAction) Serialize

func (fake *TransferAction) Serialize() ([]byte, error)

func (*TransferAction) SerializeCallCount

func (fake *TransferAction) SerializeCallCount() int

func (*TransferAction) SerializeCalls

func (fake *TransferAction) SerializeCalls(stub func() ([]byte, error))

func (*TransferAction) SerializeOutputAt

func (fake *TransferAction) SerializeOutputAt(arg1 int) ([]byte, error)

func (*TransferAction) SerializeOutputAtArgsForCall

func (fake *TransferAction) SerializeOutputAtArgsForCall(i int) int

func (*TransferAction) SerializeOutputAtCallCount

func (fake *TransferAction) SerializeOutputAtCallCount() int

func (*TransferAction) SerializeOutputAtCalls

func (fake *TransferAction) SerializeOutputAtCalls(stub func(int) ([]byte, error))

func (*TransferAction) SerializeOutputAtReturns

func (fake *TransferAction) SerializeOutputAtReturns(result1 []byte, result2 error)

func (*TransferAction) SerializeOutputAtReturnsOnCall

func (fake *TransferAction) SerializeOutputAtReturnsOnCall(i int, result1 []byte, result2 error)

func (*TransferAction) SerializeReturns

func (fake *TransferAction) SerializeReturns(result1 []byte, result2 error)

func (*TransferAction) SerializeReturnsOnCall

func (fake *TransferAction) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL