" underscoreBinding='asCharInWord'/>\n" +
" </xs:appinfo\n>" +
" </xs:annotation>\n" +
"</xs:schema>";
SchemaSG jschema = parse(schema, "testGlobalBindingsDefaults.xsd");
String collectionType = jschema.getCollectionType();
assertEquals("indexed", collectionType);
XsQName[] typesafeEnumBase = jschema.getTypesafeEnumBase();
assertNotNull(typesafeEnumBase);
assertEquals(2, typesafeEnumBase.length);
assertEquals(new XsQName(XSParser.XML_SCHEMA_URI, "String"), typesafeEnumBase[0]);
assertEquals(new XsQName(XSParser.XML_SCHEMA_URI, "NCName"), typesafeEnumBase[1]);
boolean isBindingStyleModelGroup = jschema.isBindingStyleModelGroup();
assertTrue(isBindingStyleModelGroup);
boolean isChoiceContentProperty = jschema.isChoiceContentProperty();
assertTrue(isChoiceContentProperty);
boolean enableFailFastCheck = jschema.isFailFastCheckEnabled();
assertTrue(enableFailFastCheck);
boolean isJavaNamingConventionsEnabled = jschema.isJavaNamingConventionsEnabled();
assertTrue(!isJavaNamingConventionsEnabled);
boolean fixedAttributeConstantProperty = jschema.isFixedAttributeConstantProperty();
assertTrue(fixedAttributeConstantProperty);
boolean generatingIsSetMethod = jschema.isGeneratingIsSetMethod();
assertTrue(generatingIsSetMethod);
boolean isUnderscoreWordSeparator = jschema.isUnderscoreWordSeparator();
assertTrue(!isUnderscoreWordSeparator);
JAXBJavaType[] javaTypes = jschema.getJAXBJavaTypes();
assertNotNull(javaTypes);
assertEquals(0, javaTypes.length);
}