* @throws RepositoryException if an error occurs
*/
public void testNoFilesLeftBehind() throws RepositoryException {
RepositoryLock lock = new RepositoryLock(directory.getPath());
lock.acquire();
lock.release();
assertEquals(
"Some files left behind by a lock",
0, directory.listFiles().length);
}