public static WebArchive createDeployment() {
RichDeployment deployment = new RichDeployment(ITDnd.class);
deployment.archive().addAsWebResource(new File("src/test/resources/org/richfaces/component/dnd.xhtml"));
deployment.archive().addAsWebResource(new File("src/test/resources/images/dnd/accept.gif"), "/resources/images/dnd/accept.gif");
deployment.archive().addAsWebResource(new File("src/test/resources/images/dnd/default.gif"), "/resources/images/dnd/default.gif");
deployment.archive().addAsWebResource(new File("src/test/resources/images/dnd/reject.gif"), "/resources/images/dnd/reject.gif");
deployment.archive().addClass(DragDropBean.class);
deployment.archive().addClass(DragDropEventBean.class);
deployment.archive().addClass(Framework.class);
return deployment.getFinalArchive();