public void Works()
        {
            var testDocs = new tests.TestDocuments();
            var doc      = testDocs.Assembly;

            var test = doc.EnumerateAllLeafOccurrencesDocumentDescriptors();

            Assert.IsInstanceOf <IEnumerable <DocumentDescriptor> >(test);
        }
        public void RemovePartDocuments_Works()
        {
            var testDocs = new tests.TestDocuments();
            var doc      = testDocs.Assembly;

            var test = doc.EnumerateAllReferencedDocuments().RemovePartDocuments().Count();

            Assert.AreEqual(1, test);
        }
        public void Document_Works()
        {
            var testDocs = new tests.TestDocuments();
            var doc      = testDocs.Document;

            var test = doc.EnumerateReferencingDocuments();

            try { Assert.IsInstanceOf <IEnumerable <Document> >(test); }
            catch { testDocs = null; }
        }