String etag = etagHeader.getETag();
publish = publishSession.newPublish(getClass().getResourceAsStream("publish2.xml"), 20);
HeaderFactory hf = publishSession.getHeaderFactory();
publish.setHeader(hf.createSIPIfMatchHeader(etag));
response = publishSession.sendRequest(publish, SipResponse.OK);
etagHeader = (SIPETagHeader) response.getHeader(SIPETagHeader.NAME);
assertNotNull(etagHeader);
publish = publishSession.newPublish(getClass().getResourceAsStream("publish1.xml"), 20);
publish.setHeader(hf.createSIPIfMatchHeader(etag)); //Use old etag