Interesting; should...

`registry1.obtainLock("foo").equals(registry2.obtainLock("foo")`

... be `true` or `false`.

I can see arguments both ways.

Of course, you are right, internally calling equals within the registry, the outer instance will always be the same.

If we agree the above test should be `true` then we can remove that test.