shpFiles = new ShpFiles( new File( path ));
File file = shpFiles.acquireWriteFile(SHP, this);
// under windows the two paths can be just different in terms of case..
assertEquals(new File( path ).getCanonicalPath().toLowerCase(), file.getPath().toLowerCase());
assertEquals(1, shpFiles.numberOfLocks());
shpFiles.unlockWrite(file, this);
assertEquals(0, shpFiles.numberOfLocks());
shpFiles.dispose();
}