assertEquals(prop1[0].Value, ret[0].Value);
xCont.replaceByIndex(0, prop2);
ret = (PropertyValue[])xCont.getByIndex(0);
assertEquals(prop2[0].Name, ret[0].Name);
assertEquals(prop2[0].Value, ret[0].Value);
xCont.removeByIndex(0);
assertTrue("Could not remove PropertyValue.",
!xCont.hasElements() && xCont.getCount()==0);
xCont.insertByIndex(0, prop1);
xCont.insertByIndex(1, prop2);
assertTrue("Did not insert PropertyValue.",