fdm.expects.getSessionFormData("s0").returns(sessionFormData);
sessionFormData.expects.setFieldValue(URLConstants.ACTION_FORM_FRAGMENT, "/delivery");
for (int i = 0; i < MULTIPLE_DEFAULT_FIELDS.length; i++ ) {
FieldDescriptor fd = new FieldDescriptor();
fd.setName((String) MULTIPLE_DEFAULT_FIELDS[i][0]);
fd.setType((FieldType) MULTIPLE_DEFAULT_FIELDS[i][1]);
default_FD.addField(fd);
}
for (int i = 0; i < MULTIPLE_MODEL2_FIELDS.length; i++ ) {
FieldDescriptor fd = new FieldDescriptor();
fd.setName((String) MULTIPLE_MODEL2_FIELDS[i][0]);
fd.setType((FieldType) MULTIPLE_MODEL2_FIELDS[i][1]);
FD2.addField(fd);
}
for (int i = 0; i < MULTIPLE_MODEL3_FIELDS.length; i++ ) {
FieldDescriptor fd = new FieldDescriptor();
fd.setName((String) MULTIPLE_MODEL3_FIELDS[i][0]);
fd.setType((FieldType) MULTIPLE_MODEL3_FIELDS[i][1]);
FD3.addField(fd);
}
}