def METHOD_NAME(self, context):
    self.setup_fcntl_return(context)
    lck1 = lock.Lock("somename")
    lck1.acquire()
    self.assertTrue(lck1.held())
    # This should be the same lock as lck1
    lck2 = lock.Lock("somename")
    lck2.acquireNoblock()
    self.assertTrue(lck2.held())
    lck2.release()
    # As lck1 and lck2 refer to the same lock they should still be held
    self.assertTrue(lck2.held())
    self.assertTrue(lck1.held())
    lck1.release()
    self.assertFalse(lck1.held())