예제 #1
0
        public void Should_set_parent_upon_adding()
        {
            var childNode = new RazorNode();
            razorNode.Children.Add(childNode);

            childNode.Parent.ShouldBeSameAs(razorNode);
        }
예제 #2
0
 public RazorNodeTests()
 {
     razorNode = new RazorNode();
 }