@FindBy(id = "form:cf")
private WebElement cfTarget;
@Deployment
public static WebArchive createDeployment() {
DndDeployment deployment = new DndDeployment(TestDnd.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();
}