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.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnambiguousRepresentation
(Representation representation, Object actual, Object expected) -
Method Summary
Modifier and TypeMethodDescriptionProvide a representation ofactual
guaranteed to be different fromgetExpected()
.Provide a representation ofexpected
guaranteed to be different fromgetActual()
.
-
Field Details
-
actual
-
expected
-
-
Constructor Details
-
UnambiguousRepresentation
-
-
Method Details
-
getActual
Provide a representation ofactual
guaranteed to be different fromgetExpected()
.- Returns:
- a suitable representation of the
actual
object given at construction time.
-
getExpected
Provide a representation ofexpected
guaranteed to be different fromgetActual()
.- Returns:
- a suitable representation of the
expected
object given at construction time.
-