public void SimpleFind()
        {
            var worker = new FindReplaceWorker(prop_service);
            worker.Document = OriginalDocument;
            worker.SearchText = "abc";

            var expected_offsets = new int[]{0, 64, 68, 72, 80, 84, 88};

            worker.FindNext();
            DoTest(worker.SearchResults, expected_offsets);
        }
        public void RegExFind()
        {
            var worker = new FindReplaceWorker(prop_service);
            worker.Document = OriginalDocument;
            worker.UseRegex = true;
            worker.SearchText = @"abc\s+";

            var expected_offsets = new int[]{64, 68, 80, 84};

            worker.FindNext();
            DoTest(worker.SearchResults, expected_offsets);
        }