protected void runTest() throws Throwable {
OMElement parent = soapFactory.createOMElement("parent", null);
OMElement child1 = soapFactory.createOMElement("child1", null, parent);
SOAPHeaderBlock hb = soapFactory.createSOAPHeaderBlock("MyHeader", soapFactory.createOMNamespace("urn:test", "p"));
try {
child1.insertSiblingBefore(hb);
fail("Expected SOAPProcessingException");
} catch (SOAPProcessingException ex) {
// Expected
}
}