@Test
public void testTortuousInvite() throws Exception
{
File msgFile = new File(TORTURE_VALID_DIR, "wsinv2.dat");
SipMessage message = getMessage(msgFile);
Address contact = message.getAddressHeader("contact");
assertEquals("Quoted string \"\"", contact.getDisplayName());
assertEquals("newvalue", contact.getParameter("newparam"));
assertEquals("", message.getHeader("subject"));
// Test multiline
assertEquals("newfangled value continued newfangled value", message.getHeader("NewFangledHeader"));
Via via = message.getTopVia();
assertEquals("390skdjuw", via.getBranch());
assertEquals("192.0.2.2", via.getHost());
assertEquals("UDP", via.getTransport());
message.getFrom();
message.getTo();
//System.out.println(message);
//System.out.println(message.getTo().toString() + message.getFrom());
}