use super::super::*;
#[test]
fn test_param_not_found() {
let req = Request::new(
Method::Get,
"/users/123".to_string(),
vec![],
None,
[("id".to_string(), "123".to_string())]
.into_iter()
.collect(),
);
assert_eq!(req.param("id"), Some("123"));
assert_eq!(req.param("missing"), None);
assert_eq!(req.param(""), None);
}