public abstract class AbstractCheck extends Object
| Constructor and Description |
|---|
AbstractCheck() |
| Modifier and Type | Method and Description |
|---|---|
ConditionalCheckResult |
check(PropertyDescriptor property,
Object actual,
Object expected,
ComparisonContext context) |
protected Object |
getPropertyValue(PropertyDescriptor property,
Object obj) |
protected abstract ConditionalCheckResult |
runCheck(Object actualValue,
Object expectedValue,
ComparisonContext context) |
public ConditionalCheckResult check(PropertyDescriptor property, Object actual, Object expected, ComparisonContext context)
property - property on which the check will runactual - actual parent object of the propertyexpected - expected parent object of the propertycontext - comparison contextJEntityTestException - if comparison is impossibleprotected abstract ConditionalCheckResult runCheck(Object actualValue, Object expectedValue, ComparisonContext context)
protected Object getPropertyValue(PropertyDescriptor property, Object obj)
Copyright © 2021. All rights reserved.