private ContentAnalysis GetOriginalContentAnalysis(string expectedContent, string actualContent)
        {
            var originalDiff = diffCalculator.GetDiffBetween(expectedContent, actualContent);

            IDiffNormalizer diffNormalizer         = new CompositeDiffNormalizer();
            var             originalNormalizedDiff = diffNormalizer.Normalize(originalDiff);

            return(new ContentAnalysis()
            {
                Diff = originalNormalizedDiff
            });
        }
        private ContentAnalysis GetTextNormalizedContentAnalysis(string expectedContent, string actualContent)
        {
            ITextNormalizer textNormalizer = new CompositeTextNormalizer();

            var normalizedExpectedContent = textNormalizer.Normalize(expectedContent);
            var normalizedActualContent   = textNormalizer.Normalize(actualContent);

            var textNormalizedDiff = diffCalculator.GetDiffBetween(normalizedExpectedContent, normalizedActualContent);

            IDiffNormalizer diffNormalizer = new CompositeDiffNormalizer();
            var             normalizedDiff = diffNormalizer.Normalize(textNormalizedDiff);

            return(new ContentAnalysis()
            {
                Diff = normalizedDiff
            });
        }