createTempFileForTest

fun createTempFileForTest(prefix: String, suffix: String): Path

Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name. The resulting file in the returned path is automatically deleted on JVM exit.