PropertyNotFoundException {
bean.setValue((String) value);
}
});
HtmlPage renderedView = renderView();
HtmlAnchor htmlLink = (HtmlAnchor) renderedView.getHtmlElementById(
command.getClientId(facesContext));
htmlLink.click();
externalContext.addRequestParameterMap(slider.getClientId(facesContext),
"66");
slider.processDecodes(facesContext);
assertTrue(bean.getValue().equals("66"));
((UIInputNumberSlider) slider).setImmediate(true);
renderedView = renderView();
htmlLink = (HtmlAnchor) renderedView.getHtmlElementById(
command.getClientId(facesContext));
htmlLink.click();
externalContext.addRequestParameterMap(slider.getClientId(facesContext),
"wrong value");
slider.processDecodes(facesContext);
assertTrue(facesContext.getMessages().hasNext());
}