multipartymocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager added in v1.1.2

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Manager) ConfigureContract

func (_m *Manager) ConfigureContract(ctx context.Context) error

ConfigureContract provides a mock function with given fields: ctx

func (*Manager) GetNetworkVersion

func (_m *Manager) GetNetworkVersion() int

GetNetworkVersion provides a mock function with given fields:

func (*Manager) LocalNode

func (_m *Manager) LocalNode() multiparty.LocalNode

LocalNode provides a mock function with given fields:

func (*Manager) Name

func (_m *Manager) Name() string

Name provides a mock function with given fields:

func (*Manager) PrepareOperation

func (_m *Manager) PrepareOperation(ctx context.Context, op *core.Operation) (*core.PreparedOperation, error)

PrepareOperation provides a mock function with given fields: ctx, op

func (*Manager) RootOrg

func (_m *Manager) RootOrg() multiparty.RootOrg

RootOrg provides a mock function with given fields:

func (*Manager) RunOperation

RunOperation provides a mock function with given fields: ctx, op

func (*Manager) SubmitBatchPin

func (_m *Manager) SubmitBatchPin(ctx context.Context, batch *core.BatchPersisted, contexts []*fftypes.Bytes32, payloadRef string, idempotentSubmit bool) error

SubmitBatchPin provides a mock function with given fields: ctx, batch, contexts, payloadRef, idempotentSubmit

func (*Manager) SubmitNetworkAction

func (_m *Manager) SubmitNetworkAction(ctx context.Context, signingKey string, action *core.NetworkAction, idempotentSubmit bool) error

SubmitNetworkAction provides a mock function with given fields: ctx, signingKey, action, idempotentSubmit

func (*Manager) TerminateContract

func (_m *Manager) TerminateContract(ctx context.Context, location *fftypes.JSONAny, termination *blockchain.Event) error

TerminateContract provides a mock function with given fields: ctx, location, termination

Jump to

Keyboard shortcuts

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