def METHOD_NAME(
    self, warning
):
    provider = self._construct_authenticated_provider()
    provider.delete_record(None, "TXT", "missingrecord")
    warning.assert_called_once()
    assert call("delete_record: there is no record to delete") == warning.call_args