File tree Expand file tree Collapse file tree
pdfbox/src/test/java/org/apache/pdfbox/cos Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 */
1717package org .apache .pdfbox .cos ;
1818
19+ import java .util .Collections ;
1920import java .util .HashMap ;
2021import java .util .Map ;
22+
23+ import static org .junit .jupiter .api .Assertions .assertEquals ;
24+ import static org .junit .jupiter .api .Assertions .assertNull ;
2125import org .junit .jupiter .api .Test ;
2226
23- public class COSDocumentTest
27+ class COSDocumentTest
2428{
2529 @ Test
2630 void testPDFBox6132 ()
@@ -29,7 +33,7 @@ void testPDFBox6132()
2933 Map <COSObjectKey , Long > xrefTable = new HashMap <>();
3034 xrefTable .put (null , 10L );
3135 document .addXRefTable (xrefTable );
32- document .getObjectsByType (COSName .T );
33- document .getLinearizedDictionary ();
36+ assertEquals ( Collections . emptyList (), document .getObjectsByType (COSName .T ) );
37+ assertNull ( document .getLinearizedDictionary () );
3438 }
3539}
You can’t perform that action at this time.
0 commit comments