fun <ERROR CLASS><File>.hasPath(expected: String): Unit
Platform and version requirements: JVM
fun Assert<File>.hasPath(expected: String): Unit
Asserts the file has the expected path.