Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
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 ¶
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 (_m *ResponseEnvelopeOption) EXPECT() *ResponseEnvelopeOption_Expecter
func (*ResponseEnvelopeOption) Execute ¶
func (_m *ResponseEnvelopeOption) Execute(envelop *response.APIResponseEnvelope)
Execute provides a mock function with given fields: envelop
type ResponseEnvelopeOption_Execute_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 (_c *ResponseEnvelopeOption_Execute_Call) Return() *ResponseEnvelopeOption_Execute_Call
func (*ResponseEnvelopeOption_Execute_Call) Run ¶
func (_c *ResponseEnvelopeOption_Execute_Call) Run(run func(envelop *response.APIResponseEnvelope)) *ResponseEnvelopeOption_Execute_Call
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