def METHOD_NAME(repository, monkeypatch):
    """Checks that the single object operations call the batch operations."""
    def mock_batch_operation(self, keys):
        raise NotImplementedError('this method was intentionally not implemented')
    monkeypatch.setattr(RepositoryBackend, 'has_objects', mock_batch_operation)
    with pytest.raises(NotImplementedError) as execinfo:
        repository.has_object('object_key')
    assert str(execinfo.value) == 'this method was intentionally not implemented'
    monkeypatch.undo()
    monkeypatch.setattr(RepositoryBackend, 'delete_objects', mock_batch_operation)
    with pytest.raises(NotImplementedError) as execinfo:
        repository.delete_object('object_key')
    assert str(execinfo.value) == 'this method was intentionally not implemented'