Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIErrorOption ¶
APIErrorOption is an autogenerated mock type for the APIErrorOption type
func NewAPIErrorOption ¶
func NewAPIErrorOption(t mockConstructorTestingTNewAPIErrorOption) *APIErrorOption
NewAPIErrorOption creates a new instance of APIErrorOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*APIErrorOption) EXPECT ¶
func (_m *APIErrorOption) EXPECT() *APIErrorOption_Expecter
func (*APIErrorOption) Execute ¶
func (_m *APIErrorOption) Execute(apiError *errors.APIError)
Execute provides a mock function with given fields: apiError
type APIErrorOption_Execute_Call ¶
APIErrorOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*APIErrorOption_Execute_Call) Return ¶
func (_c *APIErrorOption_Execute_Call) Return() *APIErrorOption_Execute_Call
func (*APIErrorOption_Execute_Call) Run ¶
func (_c *APIErrorOption_Execute_Call) Run(run func(apiError *errors.APIError)) *APIErrorOption_Execute_Call
type APIErrorOption_Expecter ¶
type APIErrorOption_Expecter struct {
// contains filtered or unexported fields
}
func (*APIErrorOption_Expecter) Execute ¶
func (_e *APIErrorOption_Expecter) Execute(apiError interface{}) *APIErrorOption_Execute_Call
Execute is a helper method to define mock.On call
- apiError *errors.APIError
Click to show internal directories.
Click to hide internal directories.