}
private List getData(final int size) {
List as = new ArrayList(size);
for (int i = 0; i < size; i++) {
Address a = new Address();
a.setCity("city_"+ i);
a.setDeliveryInstructions("deliv_"+ i);
byte[] map = new byte[20 * (i+1)];
for (int j = 0; j < map.length; j++) {
map[j] = (byte) i;
}
a.setMapJPG(map);
a.setSignatureRequired(i % 2 == 1);
a.setState("state_" + i);
a.setStreet("street_" + i);
a.setZip("zip_" + i);
as.add(a);
}
return as;
}