public void CharChunkingTest(DocumentTree parseResult, List <ChunkInfo> expectedChunks)
        {
            IChunkerService  msReadChunker = new ChunkerService();
            List <ChunkInfo> actualChunks  = msReadChunker.Chunk(parseResult, ChunkMethod.Char, 1000, ElementType.Other);

            Assert.Equal(expectedChunks.Count, actualChunks.Count);
            Assert.Equal(expectedChunks, actualChunks, new ChunkInfoComparer());
        }
        public void PageChunkingTest(DocumentTree parseResult, List <ChunkInfo> expectedChunks)
        {
            IChunkerService  msReadChunker = new ChunkerService();
            List <ChunkInfo> actualChunks  = msReadChunker.Chunk(parseResult, ChunkMethod.Page, Constants.CustomTextPredictionMaxCharLimit, ElementType.Other);

            Assert.Equal(expectedChunks.Count, actualChunks.Count);
            Assert.Equal(expectedChunks, actualChunks, new ChunkInfoComparer());
        }