Part of bzrlib.tests.matchers View In Hierarchy
They should return an object with an unlock() method. Calling that method should unlock the original object.