func (t *testEventSeriesSink) Patch(e *eventsv1.Event, p []byte) (*eventsv1.Event, error) {
	if t.OnPatch != nil {
		return t.OnPatch(e, p)
	}
	return e, nil
}
// Patch records the event for testing.
Patch records the event for testing.
// Patch records the event for testing .
func (t *testEventSeriesSink) Patch(e *eventsv1.Event, p []byte) (*eventsv1.Event, error) {
	if t.OnPatch != nil {
		return t.OnPatch(e, p)
	}
	return e, nil
}
func ( t * testEventSeriesSink ) Patch ( e * eventsv1 . Event , p [ ] byte ) ( * eventsv1 . Event , error ) { if t . OnPatch != nil { return t . OnPatch ( e , p ) } return e , nil }
Patch records the event for testing.
Patch records the event for testing .