public class LogRecordAssert extends org.assertj.core.api.AbstractAssert<LogRecordAssert,LogRecord>
LogRecord
instances.LogRecord
Constructor and Description |
---|
LogRecordAssert(LogRecord actual) |
Modifier and Type | Method and Description |
---|---|
LogRecordAssert |
hasSize(int size)
|
org.assertj.core.api.ListAssert<String> |
messages()
Extracts all messages from the
LogRecord in the order they were logged and returns a ListAssert for
them. |
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
public LogRecordAssert(LogRecord actual)
public org.assertj.core.api.ListAssert<String> messages()
LogRecord
in the order they were logged and returns a ListAssert
for
them.public LogRecordAssert hasSize(int size)
size
- the expected sizeLogRecordAssert
for fluent API useCopyright © 2017 NovaTec Consulting GmbH. All rights reserved.