public void testMultiPartMimeMarshallingAndUnMarshallingWithExtraHeaders() throws Exception {
SIPRequest request = new SIPRequest();
// InputStream in = getClass().getClassLoader().getResourceAsStream("test/unit/gov/nist/javax/sip/multipartmime/multipart-body.txt");
// byte[] content = toByteArray(in);
byte[] content = contentString2.getBytes("UTF-8");
ContentType contentType = new ContentType("multipart", "mixed");
contentType.setParameter("boundary", "boundary1");
request.setContent(content, contentType);
MultipartMimeContent multipartMimeContent = request.getMultipartMimeContent();
checkMultiPart(multipartMimeContent);
// let's now marshall back the body and reparse it to check consistency