* Tests hierarchical Value Object reading.
*/
public void testFormHierarchicalVoReading() throws Exception {
FormWidget voForm = makeVoForm();
TestVO test = new TestVO();
final String LIFE_IS_BEAUTIFUL = "Life is beautiful";
final Long TEN = new Long(10);
voForm.setValueByFullName("subTestVO.booleanValue", Boolean.TRUE);
voForm.setValueByFullName("subTestVO.stringValue", LIFE_IS_BEAUTIFUL);
voForm.setValueByFullName("subTestVO.longValue", TEN);
BeanFormReader voReader = new BeanFormReader(voForm);
voReader.readFormBean(test);
log.debug("Value Object after reading from form");
assertTrue("Boolean value read properly", test.getSubTestVO().getBooleanValue().equals(Boolean.TRUE));
assertTrue("String value read properly", test.getSubTestVO().getStringValue().equals(LIFE_IS_BEAUTIFUL));
assertTrue("Long value read properly", test.getSubTestVO().getLongValue().equals(TEN));
}