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 Middleware

type Middleware struct {
	mock.Mock
}

Middleware is an autogenerated mock type for the Middleware type

func NewMiddleware

func NewMiddleware(t mockConstructorTestingTNewMiddleware) *Middleware

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

func (*Middleware) EXPECT

func (_m *Middleware) EXPECT() *Middleware_Expecter

func (*Middleware) Setup

func (_m *Middleware) Setup()

Setup provides a mock function with given fields:

type Middleware_Expecter

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

func (*Middleware_Expecter) Setup

Setup is a helper method to define mock.On call

type Middleware_Setup_Call

type Middleware_Setup_Call struct {
	*mock.Call
}

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

func (*Middleware_Setup_Call) Return

func (*Middleware_Setup_Call) Run

func (_c *Middleware_Setup_Call) Run(run func()) *Middleware_Setup_Call

Jump to

Keyboard shortcuts

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