array[0] = createElement("ein","un");
array[1] = createElement("zwei", "deux");
af.setFaultDetail(array);
Element match = af.lookupFaultDetail(new QName(null, "zwei"));
assertNotNull(match);
Element old = af.lookupFaultDetail(new QName(null, "string"));
assertNull(old);
}
public void testEmptyArrayAddWorks() {
AxisFault af = new AxisFault();