01: package test.unit.gov.nist.javax.sip.parser.extensions;
02:
03: import test.unit.gov.nist.javax.sip.parser.ParserTestCase;
04: import gov.nist.javax.sip.parser.extensions.ReferredByParser;
05:
06: public class ReferredByParserTest extends ParserTestCase {
07:
08: public void testParser() {
09:
10: String to[] = {
11: "Referred-By: <sip:dave@denver.example.org?"
12: + "Replaces=12345%40192.168.118.3%3Bto-tag%3D12345%3Bfrom-tag%3D5FFE-3994>\n",
13: "Referred-By: <sip:+1-650-555-2222@ss1.wcom.com;user=phone>;tag=5617\n",
14: "Referred-By: T. A. Watson <sip:watson@bell-telephone.com>\n",
15: "Referred-By: LittleGuy <sip:UserB@there.com>\n",
16: "Referred-By: sip:mranga@120.6.55.9\n",
17: "Referred-By: sip:mranga@129.6.55.9 ; tag=696928473514.129.6.55.9\n" };
18:
19: super .testParser(ReferredByParser.class, to);
20: }
21:
22: }
|