Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteHandler ¶
RouteHandler is an autogenerated mock type for the RouteHandler type
func NewRouteHandler ¶
func NewRouteHandler(t mockConstructorTestingTNewRouteHandler) *RouteHandler
NewRouteHandler creates a new instance of RouteHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RouteHandler) EXPECT ¶
func (_m *RouteHandler) EXPECT() *RouteHandler_Expecter
func (*RouteHandler) Execute ¶
func (_m *RouteHandler) Execute(c *gin.Context) (*response.APIResponseEnvelope, error)
Execute provides a mock function with given fields: c
type RouteHandler_Execute_Call ¶
RouteHandler_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*RouteHandler_Execute_Call) Return ¶
func (_c *RouteHandler_Execute_Call) Return(_a0 *response.APIResponseEnvelope, _a1 error) *RouteHandler_Execute_Call
func (*RouteHandler_Execute_Call) Run ¶
func (_c *RouteHandler_Execute_Call) Run(run func(c *gin.Context)) *RouteHandler_Execute_Call
type RouteHandler_Expecter ¶
type RouteHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*RouteHandler_Expecter) Execute ¶
func (_e *RouteHandler_Expecter) Execute(c interface{}) *RouteHandler_Execute_Call
Execute is a helper method to define mock.On call
- c *gin.Context
Click to show internal directories.
Click to hide internal directories.