def METHOD_NAME(self):
    log = []
    locks = [
        FakeGuardedLock('01_dom', 'dom1', 'mode', log),
        FakeGuardedLock('02_img', 'img1', 'mode', log),
        FakeGuardedLock('03_vol', 'vol1', 'mode', log),
        FakeGuardedLock('01_dom', 'dom1', 'mode', log),
        FakeGuardedLock('02_img', 'img1', 'mode', log),
        FakeGuardedLock('03_vol', 'vol2', 'mode', log)]
    expected = [
        ('acquire', '01_dom', 'dom1', 'mode'),
        ('acquire', '02_img', 'img1', 'mode'),
        ('acquire', '03_vol', 'vol1', 'mode'),
        ('acquire', '03_vol', 'vol2', 'mode'),
        ('release', '03_vol', 'vol2', 'mode'),
        ('release', '03_vol', 'vol1', 'mode'),
        ('release', '02_img', 'img1', 'mode'),
        ('release', '01_dom', 'dom1', 'mode')]
    with guarded.context(locks):
        self.assertEqual(expected[:4], log)
    self.assertEqual(expected, log)