package object import "testing" // TestBehaviorTypeSafespotIsNotActionType: BehaviorType must not return // "safespot" (it is not a behavior.ActionType), or the generic verb gate // treats a safespot-only object as an unknown action type. func TestBehaviorTypeSafespotIsNotActionType(t *testing.T) { def := &ObjectDef{Safespot: &SafespotConfig{}} if got := def.BehaviorType(); got != "" { t.Fatalf("BehaviorType(safespot-only) = %q, want empty", got) } }