public void ParsingEndElement() { var result = grammar.EndElement(Source("</blah>")); Assert.IsNotNull(result); Assert.IsAssignableFrom(typeof(EndElementNode), result.Value); Assert.AreEqual("blah", result.Value.Name); }