def METHOD_NAME(self, client, **kwargs):
    set_bodiless_matcher()
    # create a key to selectively restore
    managed_hsm_url = kwargs.pop("managed_hsm_url")
    key_client = self.create_key_client(managed_hsm_url)
    key_name = self.get_resource_name("selective-restore-test-key")
    key_client.create_rsa_key(key_name)
    # backup the vault
    container_uri = kwargs.pop("container_uri")
    sas_token = kwargs.pop("sas_token")
    backup_poller = client.begin_backup(container_uri, sas_token)
    backup_operation = backup_poller.result()
    # restore the key
    restore_poller = client.begin_restore(backup_operation.folder_url, sas_token, key_name=key_name)
    restore_poller.wait()
    # delete the key
    delete_function = partial(key_client.begin_delete_key, key_name)
    delete_poller = self._poll_until_no_exception(delete_function, ResourceExistsError)
    delete_poller.wait()
    key_client.purge_deleted_key(key_name)
    if self.is_live:
        time.sleep(60)  # additional waiting to avoid conflicts with resources in other tests