func (_m *KubeClient) GetCache() cache.Cache {
	ret := _m.Called()
	var r0 cache.Cache
	if rf, ok := ret.Get(0).(func() cache.Cache); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(cache.Cache)
		}
	}
	return r0
}
GetCache provides a mock function with given fields:
package mocks
import (
	cache "sigs.k8s.io/controller-runtime/pkg/cache"
	client "sigs.k8s.io/controller-runtime/pkg/client"
	mock "github.com/stretchr/testify/mock"
)
type KubeClient struct {
	mock.Mock
}
type KubeClient_GetCache struct {
	*mock.Call
}
func (_m KubeClient_GetCache) Return(_a0 cache.Cache) *KubeClient_GetCache {
	return &KubeClient_GetCache{Call: _m.Call.Return(_a0)}
}
func (_m *KubeClient) OnGetCache() *KubeClient_GetCache {
	c := _m.On("GetCache")
	return &KubeClient_GetCache{Call: c}
}
func (_m *KubeClient) OnGetCacheMatch(matchers ...interface{}) *KubeClient_GetCache {
	c := _m.On("GetCache", matchers...)
	return &KubeClient_GetCache{Call: c}
}