eofException

fun FakeContext.eofException(message: String = string()): EOFException

Generates a Java EOF exception.