HtmlRenderedClientEventAttr[] attrs = getClientBehaviorHtmlRenderedAttributes();
for (int i = 0; i < attrs.length; i++)
{
UIComponent component = createComponentToTest();
ClientBehaviorHolder clientBehaviorHolder = (ClientBehaviorHolder) component;
clientBehaviorHolder.addClientBehavior(attrs[i].getClientEvent(), new AjaxBehavior());
try
{
component.encodeAll(facesContext);
String output = outputWriter.toString();
//jsf.ajax.request('j_id0',event,{'javax.faces.behavior.event':'click'})