// CacheEncode provides a mock function with given fields: id, encode, w
CacheEncode provides a mock function with given fields: id, encode, w
// CacheEncode provides a mock function with given fields : id encode w
func (_m *CacheableObject) CacheEncode(id runtime.Identifier, encode func(runtime.Object, io.Writer) error, w io.Writer) error {
	ret := _m.Called(id, encode, w)
	var r0 error
	if rf, ok := ret.Get(0).(func(runtime.Identifier, func(runtime.Object, io.Writer) error, io.Writer) error); ok {
		r0 = rf(id, encode, w)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func ( _m * CacheableObject ) CacheEncode ( id runtime . Identifier , encode func ( runtime . Object , io . Writer ) error , w io . Writer ) error { ret := _m . Called ( id , encode , w ) var r0 error if rf , ok := ret . Get ( 0 ) . ( func ( runtime . Identifier , func ( runtime . Object , io . Writer ) error , io . Writer ) error ) ; ok { r0 = rf ( id , encode , w ) } else { r0 = ret . Error ( 0 ) } return r0 }
CacheEncode provides a mock function with given fields: id, encode, w
CacheEncode provides a mock function with given fields : id encode w