String path = "somefile.shp";
shpFiles = new ShpFiles( new File( path ));
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);