fun haveLineCount(count: Int): Matcher<String?>
Match on the number of newlines in a string.
This will count both "\n" and "\r\n", and so is not dependant on the system line separator.