// same thread should work
Result<URL, State> result1 = shpFiles.tryAcquireRead(SHX, testWriter);
assertEquals("http://somefile.com/shp.shx", result1.value
.toExternalForm());
assertEquals(2, shpFiles.numberOfLocks());
// same thread should work
Result<URL, State> result2 = shpFiles.tryAcquireRead(DBF, this);
assertEquals("http://somefile.com/shp.dbf", result2.value
.toExternalForm());