def METHOD_NAME(
    self, db_session, svc, youtube_transcript_service, transcript_info
):
    youtube_transcript_service.pick_default_transcript.return_value = (
        transcript_info
    )
    youtube_transcript_service.get_transcript.return_value = "test_transcript"
    returned_transcript = svc.get_transcript("test_video_id")
    youtube_transcript_service.get_transcript_infos.assert_called_once_with(
        "test_video_id"
    )
    youtube_transcript_service.pick_default_transcript.assert_called_once_with(
        youtube_transcript_service.get_transcript_infos.return_value
    )
    youtube_transcript_service.get_transcript.assert_called_once_with(
        transcript_info
    )
    assert returned_transcript == "test_transcript"
    # It should have cached the transcript in the DB.
    assert db_session.scalars(select(Transcript)).all() == [
        Any.instance_of(Transcript).with_attrs(
            {
                "video_id": "test_video_id",
                "transcript_id": transcript_info.id,
                "transcript": "test_transcript",
            }
        )
    ]