"</x>";
DataForm dataForm = unmarshal(xml, DataForm.class);
Assert.assertNotNull(dataForm);
Validation validation = dataForm.getFields().get(0).getValidation();
Assert.assertNotNull(validation);
Assert.assertEquals(validation.getDataType(), "xs:string");
Assert.assertTrue(validation.getValidationMethod() instanceof Validation.ValidationMethod.Basic);
Assert.assertNotNull(validation.getListRange());
Assert.assertEquals(validation.getListRange().getMin(), (Integer) 1);
Assert.assertEquals(validation.getListRange().getMax(), (Integer) 3);
}