public void Parse_ValidFormats_ExpectNotToFail() { String[] strings = { " \"100\" <sip:[email protected]>;tag=182eb73f4c0f1e61", " <sip:[email protected]>;tag=182eb73f4c0f1e61;parameter1=value1", " <sip:[email protected]>;tag=182eb73f4c0f1e61 ", " <sip:[email protected]> " }; foreach (string s in strings) { var h = new SipFromHeaderParser().Parse(s); } }
public override SipHeader Clone() { var p = new SipFromHeaderParser(); return(p.Parse(this.FormatBodyToString())); }