@Override
    public COSDictionary getCOSObject()
    {
        return dictionary;
    }
@Test
    void createDefaultWidgetAnnotation()
    {
        PDAnnotation annotation = new PDAnnotationWidget();
        assertEquals(COSName.ANNOT, annotation.getCOSObject().getItem(COSName.TYPE));
        assertEquals(PDAnnotationWidget.SUB_TYPE, annotation.getCOSObject().getNameAsString(COSName.SUBTYPE));
    }