mocks

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uuid

type Uuid struct {
	mock.Mock
}

Uuid is an autogenerated mock type for the Uuid type

func NewUuid

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

NewUuid creates a new instance of Uuid. 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 (*Uuid) EXPECT

func (_m *Uuid) EXPECT() *Uuid_Expecter

func (*Uuid) NewV4

func (_m *Uuid) NewV4() string

NewV4 provides a mock function with given fields:

type Uuid_Expecter

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

func (*Uuid_Expecter) NewV4

func (_e *Uuid_Expecter) NewV4() *Uuid_NewV4_Call

NewV4 is a helper method to define mock.On call

type Uuid_NewV4_Call

type Uuid_NewV4_Call struct {
	*mock.Call
}

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

func (*Uuid_NewV4_Call) Return

func (_c *Uuid_NewV4_Call) Return(_a0 string) *Uuid_NewV4_Call

func (*Uuid_NewV4_Call) Run

func (_c *Uuid_NewV4_Call) Run(run func()) *Uuid_NewV4_Call

func (*Uuid_NewV4_Call) RunAndReturn

func (_c *Uuid_NewV4_Call) RunAndReturn(run func() string) *Uuid_NewV4_Call

Jump to

Keyboard shortcuts

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