Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v0.37.21 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 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