public class org.apache.axiom.ts.soap.header.TestDiscardPartiallyBuilt extends org.apache.axiom.ts.soap.SampleBasedSOAPTestCase
{
public void <init>(org.apache.axiom.om.OMMetaFactory, org.apache.axiom.ts.soap.SOAPSpec)
{
org.apache.axiom.ts.soap.SOAPSpec v;
org.apache.axiom.ts.soap.header.TestDiscardPartiallyBuilt v;
org.apache.axiom.om.OMMetaFactory v;
org.apache.axiom.ts.soap.SOAPSampleSet v;
v := @this: org.apache.axiom.ts.soap.header.TestDiscardPartiallyBuilt;
v := @parameter: org.apache.axiom.om.OMMetaFactory;
v := @parameter: org.apache.axiom.ts.soap.SOAPSpec;
v = <org.apache.axiom.ts.soap.SOAPSampleSet: org.apache.axiom.ts.soap.SOAPSampleSet WSA>;
specialinvoke v.<org.apache.axiom.ts.soap.SampleBasedSOAPTestCase: void <init>(org.apache.axiom.om.OMMetaFactory,org.apache.axiom.ts.soap.SOAPSpec,org.apache.axiom.ts.soap.SOAPSampleSet)>(v, v, v);
return;
}
protected void runTest(org.apache.axiom.soap.SOAPEnvelope) throws java.lang.Throwable
{
org.apache.axiom.om.OMElement v, v, v;
org.apache.axiom.ts.soap.header.TestDiscardPartiallyBuilt v;
org.apache.axiom.soap.SOAPHeader v;
org.apache.axiom.soap.SOAPEnvelope v;
javax.xml.namespace.QName v;
boolean v, v;
v := @this: org.apache.axiom.ts.soap.header.TestDiscardPartiallyBuilt;
v := @parameter: org.apache.axiom.soap.SOAPEnvelope;
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPEnvelope: org.apache.axiom.soap.SOAPHeader getHeader()>();
v = new javax.xml.namespace.QName;
specialinvoke v.<javax.xml.namespace.QName: void <init>(java.lang.String,java.lang.String)>("http://www.w.org/2005/08/addressing", "ReplyTo");
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPHeader: org.apache.axiom.om.OMElement getFirstChildWithName(javax.xml.namespace.QName)>(v);
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: org.apache.axiom.om.OMElement getFirstElement()>();
interfaceinvoke v.<org.apache.axiom.om.OMElement: org.apache.axiom.om.OMNode getFirstOMChild()>();
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: boolean isComplete()>();
staticinvoke <org.apache.axiom.ts.soap.header.TestDiscardPartiallyBuilt: void assertFalse(boolean)>(v);
interfaceinvoke v.<org.apache.axiom.soap.SOAPHeader: void discard()>();
v = interfaceinvoke v.<org.apache.axiom.soap.SOAPEnvelope: org.apache.axiom.om.OMElement getFirstElement()>();
v = v instanceof org.apache.axiom.soap.SOAPBody;
staticinvoke <org.apache.axiom.ts.soap.header.TestDiscardPartiallyBuilt: void assertTrue(boolean)>(v);
return;
}
}