2022-07-05 21:57:15 +00:00
// Code generated by mockery v2.12.2. DO NOT EDIT.
2020-04-14 22:29:30 +00:00
2018-04-04 03:46:07 +00:00
package cache
2022-04-21 14:48:21 +00:00
import (
testing "testing"
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
2022-07-05 21:57:15 +00:00
// NewMockRequest creates a new instance of MockRequest. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
2022-04-21 14:48:21 +00:00
func NewMockRequest ( t testing . TB ) * MockRequest {
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
}