Uses of Class
org.assertj.core.api.WritableAssertionInfo
-
Packages that use WritableAssertionInfo Package Description org.assertj.core.api -
-
Uses of WritableAssertionInfo in org.assertj.core.api
Fields in org.assertj.core.api declared as WritableAssertionInfo Modifier and Type Field Description WritableAssertionInfo
AbstractAssert. info
Methods in org.assertj.core.api that return WritableAssertionInfo Modifier and Type Method Description WritableAssertionInfo
AbstractAssert. getWritableAssertionInfo()
Exposes theWritableAssertionInfo
used in the current assertion for better extensibility.
When writing your own assertion class, you can use the returnedWritableAssertionInfo
to change the error message and still keep the description set by the assertion user.Methods in org.assertj.core.api with parameters of type WritableAssertionInfo Modifier and Type Method Description static String
WritableAssertionInfo. mostRelevantDescriptionIn(WritableAssertionInfo info, String newDescription)
-