stamper.setXmpMetadata(baos.toByteArray());
stamper.close();
reader.close();
CompareTool ct = new CompareTool();
Assert.assertNull(ct.compareXmp(OUT_FOLDER + fileName, CMP_FOLDER + fileName, true));
}
@Test
public void manipulatePdf2Test() throws IOException, DocumentException, XMPException {
String fileName = "xmp_metadata_added2.pdf";