mocks

package
v0.0.0-...-d389d3b Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 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 Route

type Route struct {
	mock.Mock
}

Route is an autogenerated mock type for the Route type

func NewRoute

func NewRoute(t mockConstructorTestingTNewRoute) *Route

NewRoute creates a new instance of Route. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Route) EXPECT

func (_m *Route) EXPECT() *Route_Expecter

func (*Route) Setup

func (_m *Route) Setup()

Setup provides a mock function with given fields:

type Route_Expecter

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

func (*Route_Expecter) Setup

func (_e *Route_Expecter) Setup() *Route_Setup_Call

Setup is a helper method to define mock.On call

type Route_Setup_Call

type Route_Setup_Call struct {
	*mock.Call
}

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

func (*Route_Setup_Call) Return

func (_c *Route_Setup_Call) Return() *Route_Setup_Call

func (*Route_Setup_Call) Run

func (_c *Route_Setup_Call) Run(run func()) *Route_Setup_Call

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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