Uses of Class
org.junit.jupiter.api.AssertionFailureBuilder
-
Uses of AssertionFailureBuilder in org.junit.jupiter.api
Modifier and TypeMethodDescriptionSet the actual value of the assertion.static AssertionFailureBuilder
AssertionFailureBuilder.assertionFailure()
Create a newAssertionFailureBuilder
.Set the cause of the assertion failure.Set the expected value of the assertion.AssertionFailureBuilder.includeValuesInMessage
(boolean includeValuesInMessage) Set whether to include the actual and expected values in the generated failure message.Set the user-defined message of the assertion.Set the reason why the assertion failed.