}
@Test
public void testArrayList() throws Exception {
ComplexProperty newSeq = new ComplexProperty(parent, "nsSchem",
"seqType", ComplexProperty.ORDERED_ARRAY);
TextType li1 = new TextType(parent, "rdf", "li", "valeur1");
TextType li2 = new TextType(parent, "rdf", "li", "valeur2");
newSeq.getContainer().addProperty(li1);
newSeq.getContainer().addProperty(li2);
schem.addProperty(newSeq);
List<AbstractField> list = schem.getArrayList("nsSchem:seqType");
Assert.assertTrue(list.contains(li1));
Assert.assertTrue(list.contains(li2));