mocks

package
v3.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedirectURLMaker added in v3.0.3

type RedirectURLMaker struct {
	mock.Mock
}

RedirectURLMaker is an autogenerated mock type for the RedirectURLMaker type

func NewRedirectURLMaker added in v3.4.0

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

NewRedirectURLMaker creates a new instance of RedirectURLMaker. 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 (*RedirectURLMaker) EXPECT added in v3.5.1

func (*RedirectURLMaker) URL added in v3.0.3

func (_m *RedirectURLMaker) URL(_a0 context.Context, _a1 string) (*url.URL, error)

URL provides a mock function with given fields: _a0, _a1

type RedirectURLMaker_Expecter added in v3.5.1

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

func (*RedirectURLMaker_Expecter) URL added in v3.5.1

func (_e *RedirectURLMaker_Expecter) URL(_a0 interface{}, _a1 interface{}) *RedirectURLMaker_URL_Call

URL is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 string

type RedirectURLMaker_URL_Call added in v3.5.1

type RedirectURLMaker_URL_Call struct {
	*mock.Call
}

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

func (*RedirectURLMaker_URL_Call) Return added in v3.5.1

func (*RedirectURLMaker_URL_Call) Run added in v3.5.1

func (*RedirectURLMaker_URL_Call) RunAndReturn added in v3.5.1

Jump to

Keyboard shortcuts

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