def METHOD_NAME(downloaded_update_file, testing_cert):
    cb = mock.Mock()
    updater = update_actions.OT2UpdateActions()
    with pytest.raises(file_actions.FileMissing):
        updater.validate_update(
            downloaded_update_file,
            cb,
            testing_cert,
        )