@org.junit.Test public void testGetTestDir() throws Exception { Path path = getTestDir(); assertNotNull("TestPath returned NULL", path); assertNotNull("Actual path element of Path may not be NULL", path); infoPrintf("Test location path scheme =%s\n", path.getFileSystem().getScheme()); infoPrintf("Test location path location =%s\n", path.getFileSystem().getLocation()); infoPrintf("Test location path =%s\n", path.getRelativePath().getAbsolutePath()); infoPrintf("Test location toString() =%s\n", path.toString()); infoPrintf("Test location getFileName() =%s\n", path.getRelativePath().getFileName()); assertTrue( "Root test location must exists (won't create here):" + path, getFiles().exists(path)); }