tag.doStartTag();
assertSame(bean, attributes.get(AjaxPhaseListener.VIEW_BEAN_PREFIX + "beBean"));
}
public void testFaceletsTag() throws Exception {
FaceletContext ctx = new MockFaceletContext(facesContext);
Map<String, Object> attributes = facesContext.getViewRoot().getAttributes();
Object ajaxBean = new Object();
TagHandler ajaxTag = setupTagHandler("ajaxAliveBean", ajaxBean, true);
ajaxTag.apply(ctx, null);