github.com/outbrain/consul@v1.4.5/agent/cache/mock_Request.go (about) 1 // Code generated by mockery v1.0.0 2 package cache 3 4 import mock "github.com/stretchr/testify/mock" 5 6 // MockRequest is an autogenerated mock type for the Request type 7 type MockRequest struct { 8 mock.Mock 9 } 10 11 // CacheInfo provides a mock function with given fields: 12 func (_m *MockRequest) CacheInfo() RequestInfo { 13 ret := _m.Called() 14 15 var r0 RequestInfo 16 if rf, ok := ret.Get(0).(func() RequestInfo); ok { 17 r0 = rf() 18 } else { 19 r0 = ret.Get(0).(RequestInfo) 20 } 21 22 return r0 23 }