UseWhenExtensionsTests.cs (8)
48Assert.Equal(1, Count(context, "parent"));
49Assert.Equal(1, Count(context, "child"));
50Assert.Equal(1, Count(context, "grandchild"));
76Assert.Equal(0, Count(context, "parent"));
77Assert.Equal(0, Count(context, "child"));
78Assert.Equal(1, Count(context, "grandchild"));
99Assert.Equal(1, Count(context, "parent"));
100Assert.Equal(0, Count(context, "child"));