public void testMultiplePropertiesClasses() throws Exception {
GlobalCustom custom = readCustom(MULTIPLE_PROPERTIES_CLASSES);
ClassCustom clas = custom.getClassCustomization("org.jibx.binding.generator.DataClass2");
Collection members = clas.getMembers();
assertEquals("property count", 1, members.size());
ValueCustom member = clas.getMember("dataClass1s");
assertNotNull("dataClass1s member", member);
assertEquals("dataClass1s type", "java.util.List", member.getWorkingType());
assertEquals("dataClass1s name", "dataClass1s", member.getXmlName());
assertFalse("dataClass1s required", member.isRequired());
assertTrue("dataClass1s collection", member.isCollection());
assertEquals("dataClass1s type", "org.jibx.binding.generator.DataClass1", member.getItemType());
assertEquals("dataClass1s name", "dataClass1", member.getItemName());
clas = custom.getClassCustomization("org.jibx.binding.generator.DataClass1");
members = clas.getMembers();
assertEquals("property count", 4, members.size());
member = clas.getMember("boolean");
assertNotNull("boolean member", member);
assertEquals("boolean type", "boolean", member.getWorkingType());
assertEquals("boolean name", "boolean", member.getXmlName());
assertTrue("boolean required", member.isRequired());
member = clas.getMember("int");
assertNotNull("int member", member);
assertEquals("int type", "int", member.getWorkingType());
assertEquals("int name", "int", member.getXmlName());
assertFalse("int required", member.isRequired());
member = clas.getMember("linked");
assertNotNull("linked member", member);
assertEquals("linked type", "org.jibx.binding.generator.DataClass1", member.getWorkingType());
assertEquals("linked name", "linked", member.getXmlName());
assertFalse("linked required", member.isRequired());
member = clas.getMember("string");
assertNotNull("string member", member);
assertEquals("string type", "java.lang.String", member.getWorkingType());
assertEquals("string name", "string", member.getXmlName());
assertFalse("string required", member.isRequired());
}