//TODO
InformationParametersSerials info = new InformationParametersSerials();
//Element[] array = new Element[2];
ArrayList<Serializable> array = new ArrayList<Serializable>();
ArrayList<Serializable> array2 = new ArrayList<Serializable>();
Element el1 = new Element(), el2 = new Element(), el3, el4;
el1.setCoordinate(1, 2);
el2.setCoordinate(3, 4);
array.add(el1);
array.add(el2);
info.addArrayParamData("ARRAY", array);
try {
array2 = (ArrayList<Serializable>) info.getArrayParam("ARRAY");
} catch (InvalidPropertyException e) {
// TODO Auto-generated catch block
fail(e.getMessage());
}
el3 = (Element)array2.get(0);
el4 = (Element)array2.get(1);
assertArrayEquals(el1.toSerial().getBytes(), el3.toSerial().getBytes());
assertArrayEquals(el2.toSerial().getBytes(), el4.toSerial().getBytes());
}