Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Field and Description |
---|---|
WritableAssertionInfo |
AbstractAssert.info |
Modifier and Type | Method and 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 and Description |
---|---|
static String |
WritableAssertionInfo.mostRelevantDescriptionIn(WritableAssertionInfo info,
String newDescription) |
Copyright © 2014–2018 AssertJ. All rights reserved.