public class UnambiguousRepresentation extends Object
Representation to provide the toStringOf
representations of actual and expected when they are different, and their
unambiguousToStringOf representations if not.| Constructor and Description |
|---|
UnambiguousRepresentation(Representation representation,
Object actual,
Object expected) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActual()
Provide a representation of
actual guaranteed to be different
from getExpected(). |
String |
getExpected()
Provide a representation of
expected guaranteed to be different
from getActual(). |
public UnambiguousRepresentation(Representation representation, Object actual, Object expected)
public String getActual()
actual guaranteed to be different
from getExpected().actual object given at
construction time.public String getExpected()
expected guaranteed to be different
from getActual().expected object given at
construction time.Copyright © 2025. All rights reserved.