public class FileTestingUtilsExtensions
extends java.lang.Object
| Constructor and Description |
|---|
FileTestingUtilsExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static PathFile |
newSimpleTestFile(java.lang.Object self,
java.lang.String path)
Creates a new
PathFile instance, with a FileSystem that is backed
in memory. |
public static PathFile newSimpleTestFile(java.lang.Object self, java.lang.String path)
PathFile instance, with a FileSystem that is backed
in memory. The FileSystem is created using Jimfs.newFileSystem().self - the object it is called uponpath - the path to the file, relative to the root of the file systemPathFile instance