Assert.assertTrue(bean.getStringSet().contains("splat"));
}
@Test(groups="fast")
public void bindNumericallyIndexedProperties() throws Exception {
MockRoundtrip trip = getRoundtrip();
trip.addParameter("listOfBeans[0].intProperty", "0");
trip.addParameter("listOfBeans[3].intProperty", "30");
trip.addParameter("listOfBeans[2].intProperty", "20");
trip.addParameter("listOfBeans[1].intProperty", "10");
trip.addParameter("listOfBeans[4].intProperty", "40");
trip.execute();
TestActionBean bean = trip.getActionBean(TestActionBean.class);
Assert.assertEquals(bean.getListOfBeans().get(0).getIntProperty(), 00);
Assert.assertEquals(bean.getListOfBeans().get(1).getIntProperty(), 10);
Assert.assertEquals(bean.getListOfBeans().get(2).getIntProperty(), 20);
Assert.assertEquals(bean.getListOfBeans().get(3).getIntProperty(), 30);
Assert.assertEquals(bean.getListOfBeans().get(4).getIntProperty(), 40);