public void FileDataSearch(string text1, string text2, string expected1, string expected2)
        {
            var documentOne = parser.Parse(text1);
            var documentTwo = parser.Parse(text2);

            var result = subsequenceAnalyser.GetCommonRegions(documentOne, documentTwo);

            result.Count.ShouldBe(2);

            result.ShouldContain(x => WhiteSpaceEquality.EqualsWhiteSpaceInvariant(x, expected1));
            result.ShouldContain(x => WhiteSpaceEquality.EqualsWhiteSpaceInvariant(x, expected2));
        }
        public void BothNull()
        {
            var result = WhiteSpaceEquality.EqualsWhiteSpaceInvariant(null, null);

            result.ShouldBeTrue();
        }
        public void NotEqual(string x, string y)
        {
            var result = WhiteSpaceEquality.EqualsWhiteSpaceInvariant(x, y);

            result.ShouldBeFalse();
        }
        public void CaseInsensitiveEqual(string x, string y)
        {
            var result = WhiteSpaceEquality.EqualsWhiteSpaceInvariant(x, y);

            result.ShouldBeTrue();
        }
        public void BothEqualWithDifferingWhiteSpace(string x, string y)
        {
            var result = WhiteSpaceEquality.EqualsWhiteSpaceInvariant(x, y);

            result.ShouldBeTrue();
        }
        public void BothExactlyEqual(string s1, string s2)
        {
            var result = WhiteSpaceEquality.EqualsWhiteSpaceInvariant(s1, s2);

            result.ShouldBeTrue();
        }