public void IEnumerable_GetParentEnueramble_Passes() { var node = new TreeNodeHelper <int>(); node.Parent = new TreeNodeHelper <int>(10); node.Parent.Parent = new TreeNodeHelper <int>(100); node.Parent.Parent.Parent = new TreeNodeHelper <int>(1000); AssertionUtils.AssertEnumerable( new TreeNodeHelper <int>[] { node.Parent, node.Parent.Parent, node.Parent.Parent.Parent } , node.GetParentEnumerable() , "" ); }