shortv.getChildren().add(
newUISelectItem(new Short((short) (Byte.MAX_VALUE + 1))));
shortv.getChildren().add(newUISelectItem(new Short((short) 100)));
shortv.getChildren().add(newUISelectItem(new Short(Short.MIN_VALUE)));
shortv.getChildren().add(newUISelectItem(new Short(Short.MAX_VALUE)));
shortv.decode(getFacesContext());
shortv.validate(getFacesContext());
shortv.updateModel(getFacesContext());
assertNotNull(bean.getShorts());
assertTrue(bean.getShorts()[0] == Short.MIN_VALUE);
assertTrue(bean.getShorts()[1] == Short.MAX_VALUE);