public static File createTestingFile(Path relativePath){
  Path path=relativePath.toAbsolutePath();
  if (!inTargetDir(path)) {
    throw new IllegalStateException("Expecting '" + relativePath + "' to be within the testing directory");
  }
  return IoUtil.createFile(path);
}

public static File createTestingFile ( Path relativePath ) { Path path = relativePath . toAbsolutePath ( ) ; if ( ! inTargetDir ( path ) ) { throw new IllegalStateException ( "Expecting '" + relativePath + "' to be within the testing directory" ) ; } return IoUtil . createFile ( path ) ; }
create a file within the test data directory at the given relative path .
