if((extElems == null) || (extElems.size() == 0) ||
!(extElems.get(0) instanceof MIMEMultipartRelated))
throw new AssertionNotApplicableException();
// get list mime parts from definition
MIMEMultipartRelated mime = (MIMEMultipartRelated) extElems.get(0);
List parts = mime.getMIMEParts();
// if parts count is more than one, than assertion is notApplicable
if(parts.size() <= 1)
throw new AssertionNotApplicableException();
String contentType = HTTPUtils.getHttpHeaderAttribute(
entryContext.getMessageEntry().getHTTPHeaders(),