"<gmd:MD_Dimension xmlns:gmd=\"" + Namespaces.GMD + '"' +
" xmlns:gco=\"" + Namespaces.GCO + "\">\n" +
" <gmd:dimensionSize gco:nilReason=\"unknown\"/>\n" +
"</gmd:MD_Dimension>";
final Dimension result = (Dimension) XML.unmarshal(expected);
final Integer size = result.getDimensionSize();
assertNotNull("Expected a sentinel value.", size);
assertEquals ("Nil value shall be 0.", Integer.valueOf(0), size);
assertNotSame("Expected a sentinel value.", Integer.valueOf(0), size);
assertSame("nilReason", NilReason.UNKNOWN, NilReason.forObject(size));