// settings.
final String schema =
"<?xml version='1.0'?>\n" +
"<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'/>\n";
SchemaSG jschema = parse(schema, "testGlobalBindingsDefaults.xsd");
String collectionType = jschema.getCollectionType();
assertStringEquals(ArrayList.class.getName(), collectionType);
JAXBJavaType[] javaTypes = jschema.getJAXBJavaTypes();
assertNotNull(javaTypes);
assertEquals(0, javaTypes.length);
XsQName[] typesafeEnumBase = jschema.getTypesafeEnumBase();
assertNotNull(typesafeEnumBase);
assertEquals(1, typesafeEnumBase.length);
assertEquals(new XsQName(XSParser.XML_SCHEMA_URI, "NCName"), typesafeEnumBase[0]);
boolean isBindingStyleModelGroup = jschema.isBindingStyleModelGroup();
assertTrue(!isBindingStyleModelGroup);
boolean choiceContentProperty = jschema.isChoiceContentProperty();
assertTrue(!choiceContentProperty);
boolean enableFailFastCheck = jschema.isFailFastCheckEnabled();
assertTrue(!enableFailFastCheck);
boolean isJavaNamingConventionsEnabled = jschema.isJavaNamingConventionsEnabled();
assertTrue(isJavaNamingConventionsEnabled);
boolean isFixedAttributeConstantProperty = jschema.isFixedAttributeConstantProperty();
assertTrue(!isFixedAttributeConstantProperty);
boolean generatingIsSetMethod = jschema.isGeneratingIsSetMethod();
assertTrue(!generatingIsSetMethod);
boolean underscoreWordSeparator = jschema.isUnderscoreWordSeparator();
assertTrue(underscoreWordSeparator);
}