using Shouldly; using Xunit; using ZB.MOM.WW.OtOpcUa.Core.Abstractions; using ZB.MOM.WW.OtOpcUa.Driver.FOCAS; namespace ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Tests; [Trait("Category", "Unit")] public sealed class FocasDiscoveryGateTests { /// FOCAS opts into the universal discovery browser — its FixedTree device folder is real /// enumeration (config-gated on FixedTree.Enabled, turned on by PatchForBrowse). FOCAS is the /// UntilStable driver: the browser's settle loop re-captures until the FixedTree cache fills. [Fact] public void SupportsOnlineDiscovery_IsTrue() { var drv = new FocasDriver(new FocasDriverOptions(), "drv-1"); ((ITagDiscovery)drv).SupportsOnlineDiscovery.ShouldBeTrue(); } }