userName.addValueChangeListener(valueChange1);
userName.addValueChangeListener(valueChange2);
// add value change event (containing the component) to the queue
userName.queueEvent(new ValueChangeEvent(userName, "foo", "bar"));
getFacesContext().getViewRoot().processValidators(getFacesContext());
assertTrue(!System.getProperty(HANDLED_VALUEEVENT1).equals(EMPTY));
assertTrue(!System.getProperty(HANDLED_VALUEEVENT2).equals(EMPTY));