mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCopy

type FakeCopy struct {
	mock.Mock
}

FakeCopy is an autogenerated mock type for the FakeCopy type

func NewFakeCopy

func NewFakeCopy(t mockConstructorTestingTNewCopy) *FakeCopy

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

func (*FakeCopy) Execute

func (_m *FakeCopy) Execute(source any, fields ...string) any

Execute provides a mock function with given fields: source, fields

type FakeGet

type FakeGet struct {
	mock.Mock
}

FakeGet is an autogenerated mock type for the FakeGet type

func NewFakeGet

func NewFakeGet(t mockConstructorTestingTNewGet) *FakeGet

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

func (*FakeGet) Execute

func (_m *FakeGet) Execute(source any, field string, opt ...*structkit.Option) any

Execute provides a mock function with given fields: source, field, opt

type FakeSet

type FakeSet struct {
	mock.Mock
}

FakeSet is an autogenerated mock type for the FakeSet type

func NewFakeSet

func NewFakeSet(t mockConstructorTestingTNewSet) *FakeSet

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

func (*FakeSet) Execute

func (_m *FakeSet) Execute(source any, field string, value any) error

Execute provides a mock function with given fields: source, field, value

Jump to

Keyboard shortcuts

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