public static void assertBodyPresent ( String msg , SipMessage sipMessage ) { assertNotNull ( "Null assert object passed in" , sipMessage ) ; assertTrue ( msg , sipMessage . getContentLength ( ) > 0 ) ; }
Asserts that the given SIP message contains a body . Assertion failure output includes the given message text .