joel-costigliola/assertj-core — pull request #214 by mariuszs (2014-06-16 11:33:40+00:00)
Title: Simple has lines count assertions for multiline strings

Sample

String multilineString = "first line\n"
+ "second line\n"
+ "third line\n";

assertThat(multilineString).hasLinesCount(2);