2023-01-18 18:33:21 +00:00
// Code generated by mockery v2.15.0. DO NOT EDIT.
2020-04-14 22:29:30 +00:00
2018-04-04 03:46:07 +00:00
package cache
2023-01-18 18:33:21 +00:00
import mock "github.com/stretchr/testify/mock"
2018-04-04 03:46:07 +00:00
// MockRequest is an autogenerated mock type for the Request type
type MockRequest struct {
mock . Mock
}
2018-04-08 14:08:34 +00:00
// CacheInfo provides a mock function with given fields:
func ( _m * MockRequest ) CacheInfo ( ) RequestInfo {
2018-04-04 03:46:07 +00:00
ret := _m . Called ( )
2018-04-08 14:08:34 +00:00
var r0 RequestInfo
if rf , ok := ret . Get ( 0 ) . ( func ( ) RequestInfo ) ; ok {
2018-04-04 03:46:07 +00:00
r0 = rf ( )
} else {
2018-04-08 14:08:34 +00:00
r0 = ret . Get ( 0 ) . ( RequestInfo )
2018-04-04 03:46:07 +00:00
}
return r0
}
2022-04-21 14:48:21 +00:00
2023-01-18 18:33:21 +00:00
type mockConstructorTestingTNewMockRequest interface {
mock . TestingT
Cleanup ( func ( ) )
}
// NewMockRequest creates a new instance of MockRequest. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewMockRequest ( t mockConstructorTestingTNewMockRequest ) * MockRequest {
2022-04-21 14:48:21 +00:00
mock := & MockRequest { }
2022-07-05 21:57:15 +00:00
mock . Mock . Test ( t )
2022-04-21 14:48:21 +00:00
t . Cleanup ( func ( ) { mock . AssertExpectations ( t ) } )
return mock
}