/// <summary>
        /// Asserts the exported type with missing comments.
        /// </summary>
        /// <param name="type">The type.</param>
        public static void AssertExportedTypeWithMissingComments(Type type)
        {
            var typeComments = DocumentationHelper.CollectExportedTypeWithCommentsFromType(type);

            var testResults = new List <TestResult>();

            if (typeComments != null && !typeComments.HasComments)
            {
                testResults.Add(new TestResult(true, 0, $"Type: {typeComments.Type.BeautifyTypeName(true)}"));
            }

            TestResultHelper.AssertOnTestResults(testResults);
        }