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: tests.rs
    path of file: ./repos/ockam/examples/rust/tcp_inlet_and_outlet/tests
    
    the code of the file until where you have to start completion: use example_test_helper::{CmdBuilder, Error};
use ockam::compat::rand;
use ockam::compat::rand::Rng;

#[test]
fn run_01_inlet_outlet_one_process() -> Result<(), Error> {
    let port = rand::thread_rng().gen_range(10000..65535);
    // Spawn example, wait for it to start up
    let runner 
    
fn run_01_inlet_outlet_one_process() -> Result<(), Error> {
    let port = rand::thread_rng().gen_range(10000..65535);
    // Spawn example, wait for it to start up
    let runner = CmdBuilder::new(&format!(
        "cargo run --example 01-inlet-outlet 127.0.0.1:{port} ockam.io:80"
    ))
    .spawn()?;
    runner.match_stdout(r"(?i)Starting new processor")?;

    // Run curl and check for a successful run
    let (exitcode, stdout) =
        CmdBuilder::new(&format!("curl -s -L -H \"Host: ockam.io\" http://127.0.0.1:{port}/")).run()?;
    assert_eq!(Some(0), exitcode);
    println!("curl stdout...");
    println!("{stdout}");
    assert!(stdout.to_lowercase().contains("<html"));
    Ok(())
}