postalTownMember.addFacet(new MemberOrderFacetAnnotation("address", "4", postalTownMember));
final DeweyOrderSet orderSet = DeweyOrderSet.createOrderSet(nameAndAddressMembers);
final OrderSet childOrderSet = orderSet.children().get(0);
assertEquals(postalTownMember, childOrderSet.elementList().get(0));
assertEquals(streetNameMember, childOrderSet.elementList().get(1));
assertEquals(houseNumberMember, childOrderSet.elementList().get(2));
}
public void testWithChildGroupOrderedAtEnd() {
houseNumberMember.addFacet(new MemberOrderFacetAnnotation("address", "6", houseNumberMember));