mock

package
v0.36.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*OnEntityEjected) Execute

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

Execute provides a mock function with given fields: ejectedEntity

Jump to

Keyboard shortcuts

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