mutatingmock

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 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 Mutator

type Mutator struct {
	mock.Mock
}

Mutator is an autogenerated mock type for the Mutator type

func NewMutator added in v2.4.0

func NewMutator(t testing.TB) *Mutator

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

func (*Mutator) Mutate

Mutate provides a mock function with given fields: ctx, ar, obj

Jump to

Keyboard shortcuts

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