assertThat(testFile).exists();
}
@Test
public void initFailDestinationContainsContent() throws IOException{
Init init = new Init(config);
File initPath = folder.newFolder("init");
File contentFolder = new File(initPath.getPath() + File.separatorChar + config.getString(Keys.CONTENT_FOLDER));
contentFolder.mkdir();
try {
init.run(initPath, rootPath, "freemarker");
fail("Shouldn't be able to initialise folder with content folder within it!");
} catch (Exception e) {
e.printStackTrace();
}
File testFile = new File(initPath, "testfile.txt");