Update usage of Document::getContent to getText

This commit is contained in:
Mark Pollack
2024-12-12 14:43:51 -05:00
parent f252b2417a
commit 5b11501cbe
8 changed files with 12 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ class PagePdfDocumentReaderTests {
assertThat(docs).hasSize(4);
String allText = docs.stream().map(Document::getContent).collect(Collectors.joining(System.lineSeparator()));
String allText = docs.stream().map(Document::getText).collect(Collectors.joining(System.lineSeparator()));
assertThat(allText).doesNotContain(
List.of("Page 1 of 4", "Page 2 of 4", "Page 3 of 4", "Page 4 of 4", "PDF Bookmark Sample"));