public final class FileTestingUtils
extends java.lang.Object
PathFile instances, with particular properties.| Modifier and Type | Method and Description |
|---|---|
static PathFile |
newSimpleTestFile(java.lang.String path)
Creates a new
PathFile instance, with a FileSystem that is backed
in memory. |
public static PathFile newSimpleTestFile(java.lang.String path)
PathFile instance, with a FileSystem that is backed
in memory. The FileSystem is created using Jimfs.newFileSystem().path - the path to the file, relative to the root of the file systemPathFile instance