shouldHaveText

open infix fun File.shouldHaveText(expected: String)(source)

reads the file's text and asserts