public void testConvertDateTimeHandler() throws Exception {
Date now = new Date(1000 * 360 * 60 * 24 * 7);
FacesContext faces = FacesContext.getCurrentInstance();
faces.getExternalContext().getRequestMap().put("now", now);
FaceletFactory f = FaceletFactory.getInstance();
Facelet at = f.getFacelet("convertDateTime.xml");
UIViewRoot root = faces.getViewRoot();
at.apply(faces, root);
UIOutput out1 = (UIOutput) root.findComponent("form:out1");