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 WritableAssertionInfoAbstractAssert. infoMethods in org.assertj.core.api that return WritableAssertionInfo Modifier and Type Method Description WritableAssertionInfoAbstractAssert. getWritableAssertionInfo()Exposes theWritableAssertionInfoused in the current assertion for better extensibility.
When writing your own assertion class, you can use the returnedWritableAssertionInfoto 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 StringWritableAssertionInfo. mostRelevantDescriptionIn(WritableAssertionInfo info, String newDescription)
-