httptest::mappers::request
pub fn path<M>(inner: M) -> Path<M>
Extract the path from the HTTP request and pass it to the next mapper.