((ToHeader) riInvite.getHeader(ToHeader.NAME)).getTag(),
riToTag,
	public void testDialogProperties() {		try {			//CallId			assertEquals(				"The Dialog did not have the right Call ID.",				((CallIdHeader) riInvite.getHeader(CallIdHeader.NAME))					.getCallId(),				dialog.getCallId().getCallId());			//Tran			assertSame(				"The Dialog.getTransaction did not return the right transaction.",				cliTran,				dialog.getFirstTransaction());			//LocalParty			assertEquals(				"Dialog.getLocalParty() returned a bad address.",				((FromHeader) tiInvite.getHeader(FromHeader.NAME)).getAddress(),				dialog.getLocalParty());			//SeqNum			assertTrue(				"Dialog.getLocalSequenceNumber() returned a bad value.",				1 == dialog.getLocalSequenceNumber());			//LocalTag			assertEquals(				"Dialog.getLocalTag() returned a bad tag",				((FromHeader) riInvite.getHeader(FromHeader.NAME)).getTag(),				dialog.getLocalTag());			//RemoteParty			assertEquals(				"Dialog.getRemoteParty() returned a bad address.",				((ToHeader) tiInvite.getHeader(ToHeader.NAME)).getAddress(),				dialog.getRemoteParty());			//RemoteTag			assertEquals(				"Dialog.getRemoteTag() returned a bad tag",				((ToHeader) riInvite.getHeader(ToHeader.NAME)).getTag(),				dialog.getRemoteTag());			//is server			assertFalse(				"Dialog.isServer returned true for a client side dialog",				dialog.isServer());		} catch (Throwable exc) {			exc.printStackTrace();			fail(exc.getClass().getName() + ": " + exc.getMessage());		}		assertTrue(new Exception().getStackTrace()[0].toString(), true);	}