public class PropertyComparisonWrapper extends Object
| Constructor and Description |
|---|
PropertyComparisonWrapper(Comparator comparator) |
| Modifier and Type | Method and Description |
|---|---|
ResultSet |
compare(PropertyDescriptor property,
Object actual,
Object expected,
ComparisonContext context) |
Comparator |
getComparator() |
protected Object |
getPropertyValue(PropertyDescriptor property,
Object obj) |
public PropertyComparisonWrapper(Comparator comparator)
public ResultSet compare(PropertyDescriptor property, Object actual, Object expected, ComparisonContext context)
property - propertyDescriptor for the propertyactual - actual objectexpected - expected objectcontext - context of this comparisonJEntityTestException - if comparison is impossibleprotected Object getPropertyValue(PropertyDescriptor property, Object obj)
public Comparator getComparator()
Copyright © 2021. All rights reserved.