You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_extract_routes.rs
    path of file: ./repos/leptos/router/src/extract_routes
    
    the code of the file until where you have to start completion: // This is here, vs /router/tests/, because it accesses some `pub(crate)`
// features to test crate internals 
    
fn test_unique_route_ids() {
    let branches = get_branches(RedirectApp);
    assert!(!branches.is_empty());

    assert!(branches
        .iter()
        .flat_map(|branch| &branch.routes)
        .map(|route| route.id)
        .all_unique());
}