@Override
    public COSBase getCOSObject()
    {
        COSArray cos = new COSArray();
        cos.add(COSArray.of(array));
        cos.add(COSInteger.get(phase));
        return cos;
    }
@Test
    void testGetCOSObject()
    {
        COSArray ar = new COSArray();
        ar.add(COSInteger.ONE);
        ar.add(COSInteger.TWO);
        PDLineDashPattern dash = new PDLineDashPattern(ar, 3);
        COSArray dashBase = (COSArray) dash.getCOSObject();
        COSArray dashArray = (COSArray) dashBase.getObject(0);
        assertEquals(2, dashBase.size());
        assertEquals(2, dashArray.size());
        assertEquals(COSFloat.ONE, dashArray.get(0));
        assertEquals(new COSFloat(2), dashArray.get(1));
        assertEquals(COSInteger.THREE, dashBase.get(1));
        System.out.println(dash);
    }