public interface LoggingAssertions
Modifier and Type | Method and Description |
---|---|
void |
isEmpty()
Asserts that there were no log messages.
|
LogRecordSubject |
record()
Obtains the subject for the only log record placed to the log.
|
com.google.common.truth.StringSubject |
textOutput()
Obtains the subject for asserting text output of the first log record.
|
void isEmpty()
com.google.common.truth.StringSubject textOutput()
LogRecordSubject record()
java.lang.AssertionError
- if the were no records or more than one log record