com.github.opennano.reflectionassert.diffs.UnexpectedValueDiff Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reflection-assert Show documentation
Show all versions of reflection-assert Show documentation
performs deep comparisons of objects via field reflection
package com.github.opennano.reflectionassert.diffs;
/**
* represents a difference between two items in a collection, map, or array where an unexpected
* value was present
*/
public final class UnexpectedValueDiff extends Diff {
public UnexpectedValueDiff(String path, Object actual) {
super(path, null, actual);
}
@Override
public DiffType getType() {
return DiffType.UNEXPECTED;
}
}