mocks

package
v2.14.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 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

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

type PackageNameSameAsImport struct {
	mock.Mock
}

PackageNameSameAsImport is an autogenerated mock type for the PackageNameSameAsImport type

func NewPackageNameSameAsImport

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

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