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: internal.rs
    path of file: ./repos/rust-teos/teos/src/api
    
    the code of the file until where you have to start completion: use std::sync::{Arc, Condvar, Mutex};
use tonic::{Code, Request, Response, Status};
use triggered::Trigger;

use crate::extended_appointment::UUID;
use crate::protos as msgs;
use crate::protos::private_t
    
    async fn test_get_user_not_found() {
        let (internal_api, _s) = create_api().await;

        // Non-registered user
        let (_, user_pk) = get_random_keypair();

        match internal_api
            .get_user(Request::new(msgs::GetUserRequest {
                user_id: UserId(user_pk).to_vec(),
            }))
            .await
        {
            Err(status) => {
                assert_eq!(status.code(), Code::NotFound);
                assert_eq!(status.message(), "User not found")
            }
            _ => panic!("Test should have returned Err"),
        }
    }