fun assertText(text: String, errorMessage: String? = null): <ERROR CLASS>
Assert that log contains specified text.