Package org.assertj.core.api
Interface AssertionInfo
- All Known Implementing Classes:
WritableAssertionInfo
public interface AssertionInfo
Information about an assertion.
- Author:
- Alex Ruiz, Yvonne Wang
-
Method Summary
Modifier and TypeMethodDescriptionReturns the description of an assertion.Returns the message that, if specified, will replace the default message of an assertion failure.
-
Method Details
-
overridingErrorMessage
String overridingErrorMessage()Returns the message that, if specified, will replace the default message of an assertion failure.- Returns:
- the message that, if specified, will replace the default message of an assertion failure.
-
description
Description description()Returns the description of an assertion.- Returns:
- the description of an assertion.
-
representation
Representation representation()
-