haveNameEndingWith

fun haveNameEndingWith(vararg suffixes: String)

Asserts that all file names end with any of the specified suffixes.