2023-03-11 01:16:11 +01:00
// Code generated by mockery v2.22.1. DO NOT EDIT.
2020-07-22 03:59:32 +02:00
package v1
import (
http "net/http"
mock "github.com/stretchr/testify/mock"
)
// RequestResolver is an autogenerated mock type for the RequestResolver type
type RequestResolver struct {
mock . Mock
}
// Execute provides a mock function with given fields: req
func ( _m * RequestResolver ) Execute ( req * http . Request ) {
_m . Called ( req )
}
2022-06-07 10:04:33 +02:00
2022-08-22 08:21:13 +02:00
type mockConstructorTestingTNewRequestResolver interface {
2022-06-07 10:04:33 +02:00
mock . TestingT
Cleanup ( func ( ) )
}
// NewRequestResolver creates a new instance of RequestResolver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
2022-08-22 08:21:13 +02:00
func NewRequestResolver ( t mockConstructorTestingTNewRequestResolver ) * RequestResolver {
2022-06-07 10:04:33 +02:00
mock := & RequestResolver { }
mock . Mock . Test ( t )
t . Cleanup ( func ( ) { mock . AssertExpectations ( t ) } )
return mock
}