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 APIResponse

type APIResponse struct {
	mock.Mock
}

APIResponse is an autogenerated mock type for the APIResponse type

func NewAPIResponse

func NewAPIResponse(t mockConstructorTestingTNewAPIResponse) *APIResponse

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

func (*APIResponse) EXPECT

func (_m *APIResponse) EXPECT() *APIResponse_Expecter

type APIResponse_Expecter

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

type ResponseEnvelopeOption

type ResponseEnvelopeOption struct {
	mock.Mock
}

ResponseEnvelopeOption is an autogenerated mock type for the ResponseEnvelopeOption type

func NewResponseEnvelopeOption

func NewResponseEnvelopeOption(t mockConstructorTestingTNewResponseEnvelopeOption) *ResponseEnvelopeOption

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

func (*ResponseEnvelopeOption) EXPECT

func (*ResponseEnvelopeOption) Execute

func (_m *ResponseEnvelopeOption) Execute(envelop *response.APIResponseEnvelope)

Execute provides a mock function with given fields: envelop

type ResponseEnvelopeOption_Execute_Call

type ResponseEnvelopeOption_Execute_Call struct {
	*mock.Call
}

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

func (*ResponseEnvelopeOption_Execute_Call) Return

func (*ResponseEnvelopeOption_Execute_Call) Run

type ResponseEnvelopeOption_Expecter

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

func (*ResponseEnvelopeOption_Expecter) Execute

func (_e *ResponseEnvelopeOption_Expecter) Execute(envelop interface{}) *ResponseEnvelopeOption_Execute_Call

Execute is a helper method to define mock.On call

  • envelop *response.APIResponseEnvelope

Jump to

Keyboard shortcuts

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