return event.execute();
}
protected boolean required(String propertyName) {
Property result = property(propertyName);
Boolean required = result.required();
return (required == null || required); // by default null means it's required
}
protected Property property(String propertyName) {
PropertyLifecycleEvent event = TestLifecycles.createPropertyLifecycleEvent(getClass(), propertyName);