code: public static void assertBodyContains(String msg, SipMessage sipMessage, String value) {
      assertNotNull("Null assert object passed in", sipMessage);
      assertBodyPresent(msg, sipMessage);
      String body = new String(sipMessage.getRawContent());
  
      if (body.indexOf(value) != -1) {
        assertTrue(true);
        return;
      }
  
      fail(msg);
    }
docs: Asserts that the given SIP message contains a body that includes the given value. The assertion
  fails if a body is not present in the message or is present but doesn't include the value.
  Assertion failure output includes the given message text.
  
  @param msg message text to output if the assertion fails.
  @param sipMessage the SIP message.
  @param value the string value to look for in the body. An exact string match is done against
  the entire contents of the body. The assertion will pass if any part of the body matches
  the value given.