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: appdata_propagation.rs
    path of file: ./repos/sdk-core/tests/integ_tests/workflow_tests
    
    the code of the file until where you have to start completion: use assert_matches::assert_matches;
use std::time::Duration;
use temporal_client::{WfClientExt, WorkflowExecutionResult, WorkflowOptions};
use temporal_sdk::{ActContext, ActivityOptions, WfContext, WorkflowResult};
use temporal_sdk_core_protos::coresdk::AsJsonPayloadExt;
use temporal_sdk_core_t
    
async fn appdata_access_in_activities_and_workflows() {
    let wf_name = "appdata_activity";
    let mut starter = CoreWfStarter::new(wf_name);
    let mut worker = starter.worker().await;
    worker.inner_mut().insert_app_data(Data {
        message: TEST_APPDATA_MESSAGE.to_owned(),
    });

    let client = starter.get_client().await;
    worker.register_wf(wf_name.to_owned(), appdata_activity_wf);
    worker.register_activity(
        "echo_activity",
        |ctx: ActContext, echo_me: String| async move {
            let data = ctx.app_data::<Data>().expect("appdata exists. qed");
            assert_eq!(data.message, TEST_APPDATA_MESSAGE.to_owned());
            Ok(echo_me)
        },
    );

    let run_id = worker
        .submit_wf(
            wf_name.to_owned(),
            wf_name.to_owned(),
            vec![],
            WorkflowOptions::default(),
        )
        .await
        .unwrap();
    worker.run_until_done().await.unwrap();
    let handle = client.get_untyped_workflow_handle(wf_name, run_id);
    let res = handle
        .get_workflow_result(Default::default())
        .await
        .unwrap();
    assert_matches!(res, WorkflowExecutionResult::Succeeded(_));
}