*
* @throws JAXBException If an error occurred while marshalling the XML.
*/
@Test
public void testSource() throws JAXBException {
final DefaultLineage lineage = new DefaultLineage();
final DefaultSource source = new DefaultSource();
source.setDescription(new SimpleInternationalString("Description of source data level."));
lineage.setSources(Arrays.asList(source));
/*
* If this simpler case, only ISO 19115 elements are defined (no ISO 19115-2).
* Consequently the XML name shall be "gmd:LI_Source".
*/
String actual = XML.marshal(lineage);