}
return createdProject;
}
private static void validateProject(@NotNull Project project) throws Exception {
ErlangCompilerSettings compilerSettings = ErlangCompilerSettings.getInstance(project);
assertNotNull("Erlang compiler settings are not created.", compilerSettings);
assertTrue("Rebar compiler is not set as default compiler.", compilerSettings.isUseRebarCompilerEnabled());
assertFalse("Clear output directory flag was not unset.", CompilerWorkspaceConfiguration.getInstance(project).CLEAR_OUTPUT_DIRECTORY);
}