mocks

package
v1.1.43 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleanup

type Cleanup struct {
	mock.Mock
}

Cleanup is an autogenerated mock type for the Cleanup type

func NewCleanup

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

NewCleanup creates a new instance of Cleanup. 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 (*Cleanup) Cleanup

func (_m *Cleanup) Cleanup(bee terra.Environment) error

Cleanup provides a mock function with given fields: bee

func (*Cleanup) EXPECT

func (_m *Cleanup) EXPECT() *Cleanup_Expecter

type Cleanup_Cleanup_Call

type Cleanup_Cleanup_Call struct {
	*mock.Call
}

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

func (*Cleanup_Cleanup_Call) Return

func (*Cleanup_Cleanup_Call) Run

func (*Cleanup_Cleanup_Call) RunAndReturn

func (_c *Cleanup_Cleanup_Call) RunAndReturn(run func(terra.Environment) error) *Cleanup_Cleanup_Call

type Cleanup_Expecter

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

func (*Cleanup_Expecter) Cleanup

func (_e *Cleanup_Expecter) Cleanup(bee interface{}) *Cleanup_Cleanup_Call

Cleanup is a helper method to define mock.On call

  • bee terra.Environment

Jump to

Keyboard shortcuts

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