public void testFileName() throws Exception {
    VFSEntry ve = VFSEntry.test();

    VFile vf = ve.getFileSystemEntry().resolveFile("template://abcd/ccc.txt");
    VFile vf2 = ve.getFileSystemEntry().resolveFile("template://abcd/ddd.txt");

    Debug.line(vf.getName(), vf2.getName());

    vf.getFileObject().moveTo(vf2.getFileObject());
  }
  public void testProfind() throws Exception {
    Aradon aradon =
        AradonTester.create()
            .mergeSection("")
            .addLet("/", "webdav", IMatchMode.STARTWITH, WebDavLet.class)
            .putAttribute(VFSEntry.class.getCanonicalName(), VFSEntry.test())
            .getAradon();

    String text =
        ""
            + "<?xml version=\"1.0\" ?>\n"
            + "<D:propfind xmlns:D=\"DAV:\">\n"
            + "        <D:allprop/>\n"
            + "</D:propfind>\n";

    StringRepresentation re = new StringRepresentation(text);

    final IAradonRequest request =
        AradonClientFactory.create(aradon).createRequest("/AbstractFileSystem.java");
    request.addHeader("Depth", "1");

    Representation r = request.setEntity(re).get();
    Debug.line(r);

    aradon.startServer(9002);
    new InfinityThread().startNJoin();
  }