parent = new XMPMetadata();
}
@Test
public void testCreateOnePdfaProperty() throws Exception {
PDFAPropertyDescription pdfprop = new PDFAPropertyDescription(parent);
String name = "value Test";
String valueT = "Text";
String cat = "external";
String desc = "it's a test property";
pdfprop.setNameValue(name);
pdfprop.setValueTypeValue(valueT);
pdfprop.setCategoryValue(cat);
pdfprop.setDescriptionValue(desc);
Assert.assertEquals(name, pdfprop.getNameValue());
Assert.assertEquals(valueT, pdfprop.getValueTypeValue());
Assert.assertEquals(cat, pdfprop.getCategoryValue());
Assert.assertEquals(desc, pdfprop.getDescriptionValue());
Assert.assertEquals(name, pdfprop.getName().getStringValue());
Assert.assertEquals(valueT, pdfprop.getValueType().getStringValue());
Assert.assertEquals(cat, pdfprop.getCategory().getStringValue());
Assert.assertEquals(desc, pdfprop.getDescription().getStringValue());
Element e = parent.getFuturOwner().createElement("test");
e.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:rdf",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#");
e.appendChild(pdfprop.getElement());
parent.getFuturOwner().appendChild(e);
// XMLUtil.save(parent.getFuturOwner(), System.out, "UTF-8");
}