mocks

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	mock.Mock
}

Resolver is an autogenerated mock type for the Resolver type

func NewResolver

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

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

func (_m *Resolver) EXPECT() *Resolver_Expecter

func (*Resolver) Resolve

Resolve provides a mock function with given fields: in

type Resolver_Expecter

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

func (*Resolver_Expecter) Resolve

func (_e *Resolver_Expecter) Resolve(in interface{}) *Resolver_Resolve_Call

Resolve is a helper method to define mock.On call

  • in routing.ResolveInput

type Resolver_Resolve_Call

type Resolver_Resolve_Call struct {
	*mock.Call
}

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

func (*Resolver_Resolve_Call) Return

func (*Resolver_Resolve_Call) Run

func (*Resolver_Resolve_Call) RunAndReturn

Jump to

Keyboard shortcuts

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