}
}
public void testPrimaryOrder() {
RuleBasedCollator rbColl = (RuleBasedCollator) Collator
.getInstance(new Locale("de", "DE"));
String text = "\u00e6";
CollationElementIterator iterator = rbColl
.getCollationElementIterator(text);
int order = iterator.next();
int pOrder = CollationElementIterator.primaryOrder(order);
CollationElementIterator iterator2 = rbColl
.getCollationElementIterator("ae");
int order2 = iterator2.next();
int pOrder2 = CollationElementIterator.primaryOrder(order2);
assertEquals(pOrder, pOrder2);
}