Exemple #1
0
        public void MaxLevelDeep()
        {
            var found = false;

            try
            {
                DocumentWriter.VerifyNestedLevel(DocumentWriter.MaxLevelDeep + 1);
            }
            catch (InvalidOperationException)
            {
                found = true;
            }
            Assert.True(found);
        }