def METHOD_NAME(self, monkeypatch):
    sdcache = FakeStorageDomainCache()
    manifest = FakeSDManifest()
    sdcache.domains['dom'] = FakeSD(manifest)
    expected = [('acquireVolumeLease', (HOST_ID, 'img', 'vol'), {}),
                ('releaseVolumeLease', ('img', 'vol'), {})]
    monkeypatch.setattr(volume, 'sdCache', sdcache)
    lock = volume.VolumeLease(HOST_ID, 'dom', 'img', 'vol')
    lock.acquire()
    assert expected[:1] == manifest.__calls__
    lock.release()
    assert expected == manifest.__calls__