def METHOD_NAME(
    sagemaker_session, static_transform_job_trial_component, static_endpoint_context
):
    sagemaker_session.sagemaker_client.add_association(
        SourceArn=static_transform_job_trial_component.trial_component_arn,
        DestinationArn=static_endpoint_context.context_arn,
        AssociationType="ContributedTo",
    )
    time.sleep(SLEEP_TIME_THREE_SECONDS)
    transform_jobs_from_query = static_endpoint_context.transform_jobs()
    assert len(transform_jobs_from_query) > 0
    for transform_job in transform_jobs_from_query:
        assert "transform-job" in transform_job.trial_component_arn
        assert "TransformJob" in transform_job.source.get("SourceType")
    sagemaker_session.sagemaker_client.delete_association(
        SourceArn=static_transform_job_trial_component.trial_component_arn,
        DestinationArn=static_endpoint_context.context_arn,
    )