File file = shpFiles.acquireReadFile(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.unlockRead(file, this);
shpFiles.dispose();
}
@Test
public void testAcquireWriteFile() throws Throwable {
ShpFiles shpFiles = new ShpFiles("http://somefile.com/shp.shp");