hasName

fun Assert<File>.hasName(expected: String)(source)

Asserts the file has the expected name.