/**
* Test setting a nested indexed property
*/
public void testSetNestedPropertyIndexed() {
TestBean bean = new TestBean();
bean.getNested().setIntIndexed(1, 51);
assertEquals("Initial value[1] 51", 51, bean.getNested().getIntIndexed(1));
try {
LocaleBeanUtils.setProperty(bean, "nested.intIndexed[1]", "123", null);
} catch (Throwable t) {
log.error(t);
fail("Threw " + t);
}
assertEquals("Check Set Value", 123, bean.getNested().getIntIndexed(1));
}