public void testExpressionBeanInitializer() throws Exception
{
IComponentSpecification spec = parsePage("ExpressionBeanInitializer_3_0.page");
IBeanSpecification bs = spec.getBeanSpecification("zebean");
BindingBeanInitializer i = (BindingBeanInitializer) bs.getInitializers().get(0);
assertEquals("barney", i.getPropertyName());
assertEquals("ognl:rubble", i.getBindingReference());
i = (BindingBeanInitializer) bs.getInitializers().get(1);
assertEquals("fred", i.getPropertyName());
assertEquals("ognl:flintstone", i.getBindingReference());
}