public void KeyValueNode_returns_descendant_nodes(KeyValueNode <string, int> root) { // ACT var result = root.Descendants(); // ASSERT Assert.Equal(new[] { "leftNode", "rightNode", "leftLeaf", "leftRightLeaf", "rightRightLeaf" }, result.Select(n => n.Key)); }