PdfCollectionItem extends PdfObjectWrapper<PdfDictionary> { @Override protected boolean isWrappedObjectMustBeIndirect() { return false; } PdfCollectionItem(PdfCollectionSchema schema); PdfCollectionItem addItem(String key, String value); void addItem(String key, PdfDate date); void addItem(String key, PdfNumber number); PdfCollectionItem setPrefix(String key, String prefix);  }
@Test public void isWrappedObjectMustBeIndirectTest() { PdfCollectionItem item = new PdfCollectionItem(new PdfCollectionSchema()); Assert.assertFalse(item.isWrappedObjectMustBeIndirect()); }