assertEquals("Citation.title", "My data", citation.getTitle().toString());
/*
* Programmatic verification of the Series properties,
* which is the main object of interest in this test.
*/
final Series series = citation.getSeries();
assertInstanceOf("Citation.series", IdentifiedObject.class, series);
assertNull ("Citation.series.name", series.getName());
assertTrue ("Citation.series.isProxy", Proxy.isProxyClass(series.getClass()));
assertInstanceOf("Citation.series", NilObject.class, series);
assertEquals ("Series[{gco:uuid=“" + UUID_VALUE + "”}]", series.toString());
final IdentifierMap map = ((IdentifiedObject) series).getIdentifierMap();
assertNull ("href", map.get(IdentifierSpace.HREF));
assertEquals("uuid", UUID_VALUE, map.get(IdentifierSpace.UUID));
/*
* Marshal the object back to XML and compare with the expected result.