Package org.assertj.core.internal
Class UnambiguousRepresentation
java.lang.Object
org.assertj.core.internal.UnambiguousRepresentation
Utility class around
Representation to provide the toStringOf
representations of actual and expected when they are different, and their
unambiguousToStringOf representations if not.-
Constructor Summary
ConstructorsConstructorDescriptionUnambiguousRepresentation(Representation representation, Object actual, Object expected) -
Method Summary
Modifier and TypeMethodDescriptionProvide a representation ofactualguaranteed to be different fromgetExpected().Provide a representation ofexpectedguaranteed to be different fromgetActual().
-
Constructor Details
-
UnambiguousRepresentation
-
-
Method Details
-
getActual
Provide a representation ofactualguaranteed to be different fromgetExpected().- Returns:
- a suitable representation of the
actualobject given at construction time.
-
getExpected
Provide a representation ofexpectedguaranteed to be different fromgetActual().- Returns:
- a suitable representation of the
expectedobject given at construction time.
-