" </uri>\n" +
" </media>" +
" </field>\n" +
"</x>\n";
DataForm dataForm = unmarshal(xml, DataForm.class);
Assert.assertNotNull(dataForm);
Assert.assertEquals(dataForm.getType(), DataForm.Type.FORM);
Media media = dataForm.getFields().get(0).getMedia();
Assert.assertNotNull(media);
Assert.assertEquals(media.getHeight(), 0);
Assert.assertEquals(media.getWidth(), 0);
}