public void GivenThatTheDocDoesnotHaveEnoughChars_ShouldReturnFalseWhenCheckPrefix(string diffText)
        {
            var lineSegmentGetter = PrepareliLineSegmentGetter(diffText);

            var doc = PreDocumentForDiffText(diffText);

            var helper = new LinePrefixHelper(lineSegmentGetter);

            helper.DoesLineStartWith(doc, 0, "++").Should().BeFalse();
        }
        public void CanCheckIfTheLineStartsWithSpecificPrefix(string diffText, string prefix)
        {
            var lineSegmentGetter = PrepareliLineSegmentGetter(diffText);

            var doc = PreDocumentForDiffText(diffText);

            var helper = new LinePrefixHelper(lineSegmentGetter);

            helper.DoesLineStartWith(doc, 0, prefix).Should().BeTrue();
        }