mocks

package
v1.1.38 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrapper

type Bootstrapper struct {
	mock.Mock
}

Bootstrapper is an autogenerated mock type for the Bootstrapper type

func NewBootstrapper

func NewBootstrapper(t interface {
	mock.TestingT
	Cleanup(func())
}) *Bootstrapper

NewBootstrapper creates a new instance of Bootstrapper. 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 (*Bootstrapper) Bootstrap

func (_m *Bootstrapper) Bootstrap() error

Bootstrap provides a mock function with given fields:

func (*Bootstrapper) EXPECT

func (_m *Bootstrapper) EXPECT() *Bootstrapper_Expecter

type Bootstrapper_Bootstrap_Call

type Bootstrapper_Bootstrap_Call struct {
	*mock.Call
}

Bootstrapper_Bootstrap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bootstrap'

func (*Bootstrapper_Bootstrap_Call) Return

func (*Bootstrapper_Bootstrap_Call) Run

func (*Bootstrapper_Bootstrap_Call) RunAndReturn added in v1.0.73

func (_c *Bootstrapper_Bootstrap_Call) RunAndReturn(run func() error) *Bootstrapper_Bootstrap_Call

type Bootstrapper_Expecter

type Bootstrapper_Expecter struct {
	// contains filtered or unexported fields
}

func (*Bootstrapper_Expecter) Bootstrap

Bootstrap is a helper method to define mock.On call

Jump to

Keyboard shortcuts

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