public void testBasic() {
PackageTreeBuilder packageBuilder = new PackageTreeBuilder(builder);
File packageFile = new File("com/google/depan/view");
File treeFile = new File("/a/b/c/com/google/depan/view");
PackageElement packageNode = packageBuilder.installPackageTree(
packageFile, treeFile);
assertEquals("java:com.google.depan.view", packageNode.getId());
assertDirectoryTree("/a/b/c/com", "google", "com");
assertDirectoryTree("/a/b/c/com/google", "depan", "com.google");
assertDirectoryTree("/a/b/c/com/google/depan", "view", "com.google.depan");
assertDirectoryBase("/a/b/c/com/google/depan/view", "com.google.depan.view");