From 50321661065196fd757d48d7cda77cc1d063fbd0 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Thu, 28 May 2026 15:16:07 -0400 Subject: [PATCH] client/dotnet: assert failed expand leaves node unexpanded --- .../ZB.MOM.WW.MxGateway.Client.Tests/LazyBrowseNodeTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/LazyBrowseNodeTests.cs b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/LazyBrowseNodeTests.cs index 3a40275..b4d5452 100644 --- a/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/LazyBrowseNodeTests.cs +++ b/clients/dotnet/ZB.MOM.WW.MxGateway.Client.Tests/LazyBrowseNodeTests.cs @@ -106,6 +106,8 @@ public sealed class LazyBrowseNodeTests new RpcException(new Status(StatusCode.NotFound, "Parent not found")))); await Assert.ThrowsAsync(async () => await roots[0].ExpandAsync()); + Assert.False(roots[0].IsExpanded); + Assert.Empty(roots[0].Children); } ///