alexruiz/fest-assert-2.x — pull request #102 by olim7t (2012-08-21 18:07:50+00:00)
Title: github #79 - new API method: Assertions.contentOf(File).

A quick and easy way to provide String-like assertions for *small* files. I've added a `contentOf` API method that loads the content of the file into a string, allowing this kind of syntax:

assertThat(contentOf(myFile)).matches(...)

(there are alternatives with the charset)

For large files, I have a more efficient stream-searching algorithm in the works, but I'd like to submit it in a separate pull request since it's more complicated.