public static interface AssertLogging.Logs
AssertLogging.collectLogs(Logger, RunnableWhichThrows).| Modifier and Type | Method and Description |
|---|---|
void |
assertContains(java.lang.String expected)
Verifies that a log record with the given
message was logged. |
void |
assertDoesNotContain(java.lang.String expected)
Verifies that no log record with the given
message was logged. |