mock

package
v0.31.21-disable-dht Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OnEntityEjected

type OnEntityEjected struct {
	mock.Mock
}

OnEntityEjected is an autogenerated mock type for the OnEntityEjected type

func NewOnEntityEjected

func NewOnEntityEjected(t mockConstructorTestingTNewOnEntityEjected) *OnEntityEjected

NewOnEntityEjected creates a new instance of OnEntityEjected. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*OnEntityEjected) Execute

func (_m *OnEntityEjected) Execute(ejectedEntity flow.Entity)

Execute provides a mock function with given fields: ejectedEntity

type OnEquivocation

type OnEquivocation struct {
	mock.Mock
}

OnEquivocation is an autogenerated mock type for the OnEquivocation type

func NewOnEquivocation

func NewOnEquivocation(t mockConstructorTestingTNewOnEquivocation) *OnEquivocation

NewOnEquivocation creates a new instance of OnEquivocation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*OnEquivocation) Execute

func (_m *OnEquivocation) Execute(first *flow.Block, other *flow.Block)

Execute provides a mock function with given fields: first, other

Jump to

Keyboard shortcuts

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