}
public void testFqnHashing()
{
AbstractLockManagerRecordingTestTL tl = threadLocal.get();
LockContainer lc = (LockContainer) TestingUtil.extractField(tl.lm, "lockContainer");
List<Fqn> fqns = new ArrayList<Fqn>();
fqns.add(Fqn.ROOT);
fqns.add(Fqn.fromString("/1"));
fqns.add(Fqn.fromString("/1/2"));
fqns.add(Fqn.fromString("/1/2/3"));
fqns.add(Fqn.fromString("/a/b/c/d"));
for (Fqn f : fqns) System.out.println("Fqn: " + f + "; hash = " + lc.hashToIndex(f));
}