()
| 863 | ); |
| 864 | assert_eq!( |
| 865 | extract_extension("SIPS:1003@example.com"), |
| 866 | Some("1003".to_string()) |
| 867 | ); |
| 868 | } |
| 869 | |
| 870 | #[test] |
| 871 | fn test_extract_extension_with_user_param_before_host() { |
| 872 | assert_eq!( |
| 873 | extract_extension("sip:1002;user=phone@example.com"), |
| 874 | Some("1002".to_string()) |
| 875 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected