func AssertEvent(t testing.TB, have event.Event, matchers ...EventMatcher) {
	err := AllOf(matchers...)(have)
	if err != nil {
		t.Fatalf("Error while matching event: %s", err.Error())
	}
}
AssertEvent is a "matcher like" assertion method to test the properties of an event
package test
import (
	"testing"
	"github.com/cloudevents/sdk-go/v2/event"
)