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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponseManager

type ErrorResponseManager struct {
	mock.Mock
}

ErrorResponseManager is an autogenerated mock type for the ErrorResponseManager type

func NewErrorResponseManager

func NewErrorResponseManager(t mockConstructorTestingTNewErrorResponseManager) *ErrorResponseManager

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

func (*ErrorResponseManager) EXPECT

func (*ErrorResponseManager) Handle

Handle provides a mock function with given fields: err

type ErrorResponseManager_Expecter

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

func (*ErrorResponseManager_Expecter) Handle

Handle is a helper method to define mock.On call

  • err error

type ErrorResponseManager_Handle_Call

type ErrorResponseManager_Handle_Call struct {
	*mock.Call
}

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

func (*ErrorResponseManager_Handle_Call) Return

func (*ErrorResponseManager_Handle_Call) Run

type ErrorTypeResponseHandler

type ErrorTypeResponseHandler struct {
	mock.Mock
}

ErrorTypeResponseHandler is an autogenerated mock type for the ErrorTypeResponseHandler type

func NewErrorTypeResponseHandler

func NewErrorTypeResponseHandler(t mockConstructorTestingTNewErrorTypeResponseHandler) *ErrorTypeResponseHandler

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

func (*ErrorTypeResponseHandler) EXPECT

func (*ErrorTypeResponseHandler) ErrorType

func (_m *ErrorTypeResponseHandler) ErrorType() error

ErrorType provides a mock function with given fields:

func (*ErrorTypeResponseHandler) Handle

Handle provides a mock function with given fields: err

func (*ErrorTypeResponseHandler) IsSupported

func (_m *ErrorTypeResponseHandler) IsSupported(err error) bool

IsSupported provides a mock function with given fields: err

func (*ErrorTypeResponseHandler) Priority

func (_m *ErrorTypeResponseHandler) Priority() int

Priority provides a mock function with given fields:

type ErrorTypeResponseHandler_ErrorType_Call

type ErrorTypeResponseHandler_ErrorType_Call struct {
	*mock.Call
}

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

func (*ErrorTypeResponseHandler_ErrorType_Call) Return

func (*ErrorTypeResponseHandler_ErrorType_Call) Run

type ErrorTypeResponseHandler_Expecter

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

func (*ErrorTypeResponseHandler_Expecter) ErrorType

ErrorType is a helper method to define mock.On call

func (*ErrorTypeResponseHandler_Expecter) Handle

Handle is a helper method to define mock.On call

  • err error

func (*ErrorTypeResponseHandler_Expecter) IsSupported

IsSupported is a helper method to define mock.On call

  • err error

func (*ErrorTypeResponseHandler_Expecter) Priority

Priority is a helper method to define mock.On call

type ErrorTypeResponseHandler_Handle_Call

type ErrorTypeResponseHandler_Handle_Call struct {
	*mock.Call
}

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

func (*ErrorTypeResponseHandler_Handle_Call) Return

func (*ErrorTypeResponseHandler_Handle_Call) Run

type ErrorTypeResponseHandler_IsSupported_Call

type ErrorTypeResponseHandler_IsSupported_Call struct {
	*mock.Call
}

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

func (*ErrorTypeResponseHandler_IsSupported_Call) Return

func (*ErrorTypeResponseHandler_IsSupported_Call) Run

type ErrorTypeResponseHandler_Priority_Call

type ErrorTypeResponseHandler_Priority_Call struct {
	*mock.Call
}

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

func (*ErrorTypeResponseHandler_Priority_Call) Return

func (*ErrorTypeResponseHandler_Priority_Call) Run

Jump to

Keyboard shortcuts

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