11 lines
329 B
Go
11 lines
329 B
Go
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)
|
|
}
|
|
}
|