String[] modelPath = new String[]{"src", "main", name + ".ts"};
<BUG>File testFile = Paths.get(outPath, testPath).toFile();</BUG>
File modelFile = Paths.get(outPath, modelPath).toFile();
try {
FileUtil.writeToFile(modelFile, ctx.toString().getBytes());
<BUG>FileUtil.writeToFile(testFile, "// TODO add some tests".getBytes());
} catch (IOException e) {
e.printStackTrace();
}</BUG>
File tsConfigFile = Paths.get(outPath, "tsconfig.json").toFile();

String[] modelPath = new String[]{"src", "main", name + ".ts"};
File modelFile = Paths.get(outPath, modelPath).toFile();
try {
FileUtil.writeToFile(modelFile, ctx.toString().getBytes());
File tsConfigFile = Paths.get(outPath, "tsconfig.json").toFile();
