{
StringTokenizer tok = new StringTokenizer(payload.getMessage(), "|");
boolean mtomEnabled = tok.nextToken().equals("1");
((Stub)getPort())._setProperty(StubExt.PROPERTY_MTOM_ENABLED, Boolean.valueOf(mtomEnabled));
PingMsgResponse value = getPort().ping(payload);
assertNotNull("Return value was null", value);
byte[] bytesOut = value.getXopContent();
assertNotNull("Return xopContent was null", bytesOut);
assertEquals("Content length doesn't match", payload.getXopContent().length, bytesOut.length);
}