String got = getMarshalledOtherAttribute();
assertStringEquals(expect, got);
}
public void testUnmarshalOtherAttribute() throws Exception {
OtherAttribute otherAttribute = (OtherAttribute) getUnmarshalledElement(getMarshalledOtherAttribute());
WildcardAttribute[] attrs = otherAttribute.getAnyAttributeArray();
assertEquals(new WildcardAttribute[]{
new WildcardAttribute(new QName("foo", "bar"), "value 1"),
new WildcardAttribute(new QName("baz"), "value 2")
}, attrs);
}