public static void ValidateReturnsEmptyEnumerable()
 {
     var node = new TestableTerminalNode();
     IEnumerable<TemplateError> errors = node.Validate();
     Assert.NotNull(errors);
     Assert.False(errors.Any());
 }
 public static void ChildNodesReturnsEmptyEnumerable()
 {
     var node = new TestableTerminalNode();
     IEnumerable<SyntaxNode> childNodes = node.ChildNodes();
     Assert.NotNull(childNodes);
     Assert.False(childNodes.Any());
 }
        public static void ValidateReturnsEmptyEnumerable()
        {
            var node = new TestableTerminalNode();
            IEnumerable <TemplateError> errors = node.Validate();

            Assert.NotNull(errors);
            Assert.False(errors.Any());
        }
        public static void ChildNodesReturnsEmptyEnumerable()
        {
            var node = new TestableTerminalNode();
            IEnumerable <SyntaxNode> childNodes = node.ChildNodes();

            Assert.NotNull(childNodes);
            Assert.False(childNodes.Any());
        }
        public static void ConstructorSetsPositionProperty()
        {
            var target = new TestableTerminalNode(new Position(4, 2));

            Assert.Equal(new Position(4, 2), target.Position);
        }
 public static void ConstructorSetsPositionProperty()
 {
     var target = new TestableTerminalNode(new Position(4, 2));
     Assert.Equal(new Position(4, 2), target.Position);
 }