Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Field | Description |
---|---|---|
WritableAssertionInfo |
AbstractAssert.info |
Modifier and Type | Method | Description |
---|---|---|
WritableAssertionInfo |
AbstractAssert.getWritableAssertionInfo() |
Exposes the
WritableAssertionInfo used in the current assertion for better extensibility. When writing
your own assertion class, you can use the returned WritableAssertionInfo to change the error message and
still keep the description set by the assertion user. |
Modifier and Type | Method | Description |
---|---|---|
static String |
WritableAssertionInfo.mostRelevantDescriptionIn(WritableAssertionInfo info,
String newDescription) |
Copyright © 2014–2019. All rights reserved.