newDirectory
Returns a new Directory instance. Use this when the test does not care about the specific Directory implementation (most tests).
The Directory is wrapped with BaseDirectoryWrapper. this means usually it will be picky, such as ensuring that you properly close it and all open files in your test. It will emulate some features of Windows, such as not allowing open files to be overwritten.
Returns a new Directory instance, using the specified random. See .newDirectory for more information.
Returns a new Directory instance, with contents copied from the provided directory. See .newDirectory for more information.
Returns a new Directory instance, using the specified random with contents copied from the provided directory. See .newDirectory for more information.