DctmSysobjectDocument dctmSpm = new DctmSysobjectDocument(
traversalManager, session, DmInitialize.DM_ID2, null, lastModifDate,
SpiConstants.ActionType.ADD, null);
Property property = dctmSpm.findProperty("keywords");
Value val = null;
while ((val = property.nextValue()) != null) {
// TOOD: compare val.toString() to expected keywords.
}
property = dctmSpm.findProperty("r_object_id");
assertEquals(DmInitialize.DM_ID2, property.nextValue().toString());
property = dctmSpm.findProperty(SpiConstants.PROPNAME_DOCID);
assertEquals(DmInitialize.DM_VSID2, property.nextValue().toString());
}