test(scum): verify companion dispatch boundaries
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package companion
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestVerifiedSemanticEventProducerFailsClosedWithoutASource(t *testing.T) {
|
||||
availability := VerifiedSemanticEventProducer()
|
||||
if availability.Available || availability.Reason == "" {
|
||||
t.Fatalf("semantic events must remain unavailable without a versioned source: %+v", availability)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user