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);
TestLifecycles.before(event);
return event;
}