func (t *testEventSeriesSink) Update(e *eventsv1.Event) (*eventsv1.Event, error) {
	if t.OnUpdate != nil {
		return t.OnUpdate(e)
	}
	return e, nil
}
// Update records the event for testing.
Update records the event for testing.
// Update records the event for testing .
func (t *testEventSeriesSink) Update(e *eventsv1.Event) (*eventsv1.Event, error) {
	if t.OnUpdate != nil {
		return t.OnUpdate(e)
	}
	return e, nil
}
func ( t * testEventSeriesSink ) Update ( e * eventsv1 . Event ) ( * eventsv1 . Event , error ) { if t . OnUpdate != nil { return t . OnUpdate ( e ) } return e , nil }
Update records the event for testing.
Update records the event for testing .