}
@Test
public void testConstructorsMinimal() {
for (String sVersion : getSupportedVersions()) {
DDMSVersion version = DDMSVersion.setCurrentVersion(sVersion);
String geoIdName = GeographicIdentifier.getName(version);
// No optional fields
Element element = Util.buildDDMSElement(geoIdName, null);
element.appendChild(Util.buildDDMSElement("name", TEST_NAMES.get(0)));
GeographicIdentifier elementComponent = getInstance(element, SUCCESS);
getInstance(new GeographicIdentifier.Builder(elementComponent), SUCCESS);
element = Util.buildDDMSElement(geoIdName, null);
element.appendChild(Util.buildDDMSElement("region", TEST_REGIONS.get(0)));
elementComponent = getInstance(element, SUCCESS);
getInstance(new GeographicIdentifier.Builder(elementComponent), SUCCESS);
element = Util.buildDDMSElement(geoIdName, null);
element.appendChild(CountryCodeTest.getFixture().getXOMElementCopy());
elementComponent = getInstance(element, SUCCESS);
getInstance(new GeographicIdentifier.Builder(elementComponent), SUCCESS);
if (version.isAtLeast("4.0.1")) {
element = Util.buildDDMSElement(geoIdName, null);
element.appendChild(SubDivisionCodeTest.getFixture().getXOMElementCopy());
elementComponent = getInstance(element, SUCCESS);
getInstance(new GeographicIdentifier.Builder(elementComponent), SUCCESS);