public class ComparisonDifference extends Object implements Comparable<ComparisonDifference>
Constructor and Description |
---|
ComparisonDifference(List<String> path,
Object actual,
Object other) |
ComparisonDifference(List<String> path,
Object actual,
Object other,
String additionalInformation) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ComparisonDifference other) |
boolean |
equals(Object other) |
Object |
getActual() |
Optional<String> |
getDescription() |
Object |
getExpected() |
String |
getPath() |
int |
hashCode() |
String |
multiLineDescription() |
String |
multiLineDescription(Representation representation) |
static ComparisonDifference |
rootComparisonDifference(Object actual,
Object other,
String additionalInformation) |
String |
toString() |
public static ComparisonDifference rootComparisonDifference(Object actual, Object other, String additionalInformation)
public String getPath()
public Object getActual()
public Object getExpected()
public String multiLineDescription()
public String multiLineDescription(Representation representation)
public int compareTo(ComparisonDifference other)
compareTo
in interface Comparable<ComparisonDifference>
Copyright © 2014–2019 AssertJ. All rights reserved.