App app = brjs.app("app");
assertFalse("app dir does not exist", app.dirExists());
TemplateUtility.installTemplate(brjs.app("app"), "app", new HashMap<String, String>());
assertTrue("app dir exists", app.dirExists());
assertTrue("root dir exists", app.file("root-@dir").exists());
assertTrue("root dir is a directory", app.file("root-@dir").isDirectory());
assertTrue("root text file exists", app.file("root-@dir/root-text-file.txt").exists());
assertEquals("root text file has correct contents", "this is the root text file (in root @dir)", fileUtil.readFileToString(app.file("root-@dir/root-text-file.txt")));