blob: 449c35de8f24535cc401d5a45ab57d11ef1721a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package main
import (
"testing"
"aigw/internal/controlplane"
)
func TestOptionalUsageRecorderRejectsTypedNilStore(t *testing.T) {
var store *controlplane.Store
if recorder := optionalUsageRecorder(store); recorder != nil {
t.Fatal("nil control-plane store became a non-nil usage recorder")
}
}
|