mocks

package
v2.20.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Foo

type Foo struct {
	mock.Mock
}

Foo is an autogenerated mock type for the Foo type

func NewFoo added in v2.9.6

func NewFoo(t mockConstructorTestingTNewFoo) *Foo

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

func (*Foo) DoFoo

func (_m *Foo) DoFoo() string

DoFoo provides a mock function with given fields:

func (*Foo) GetBaz

func (_m *Foo) GetBaz() (*foo.Baz, error)

GetBaz provides a mock function with given fields:

type PackageNameSameAsImport added in v2.9.6

type PackageNameSameAsImport struct {
	mock.Mock
}

PackageNameSameAsImport is an autogenerated mock type for the PackageNameSameAsImport type

func NewPackageNameSameAsImport added in v2.9.6

func NewPackageNameSameAsImport(t mockConstructorTestingTNewPackageNameSameAsImport) *PackageNameSameAsImport

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

func (*PackageNameSameAsImport) NewClient added in v2.9.6

func (_m *PackageNameSameAsImport) NewClient() foo.Client

NewClient provides a mock function with given fields:

Jump to

Keyboard shortcuts

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