bean = trip.getActionBean(beanType);
for (int i = 0; i < properties.length; i++) {
String fullName = beanType.getSimpleName() + "." + properties[i];
log.debug("Testing binding security on ", fullName);
PropertyExpression pe = PropertyExpression.getExpression(properties[i]);
PropertyExpressionEvaluation eval = new PropertyExpressionEvaluation(pe, bean);
Object value = eval.getValue();
Assert.assertEquals(value != null, expect[i], "Property " + fullName + " should"
+ (expect[i] ? " not" : "") + " be null but it is" + (expect[i] ? "" : " not"));
}