root.getChildren().add(stringList);
stringList.getChildren().add(newUISelectItem("value1"));
stringList.getChildren().add(newUISelectItem("value2"));
stringList.getChildren().add(newUISelectItem("value3"));
stringList.getChildren().add(newUISelectItem("value4"));
stringList.decode(getFacesContext());
stringList.validate(getFacesContext());
stringList.updateModel(getFacesContext());
assertNotNull(bean.getStringList());
assertTrue(bean.getStringList().get(0).equals("value1"));
assertTrue(bean.getStringList().get(1).equals("value2"));