prj = creator.createProject();
}
@Test
public void createRebarProject() throws CoreException {
final NewProjectData info = new NewProjectData(factory);
info.copyFrom(ErlangProjectProperties.DEFAULT);
info.setConfigType(ProjectConfigType.REBAR);
info.setBuilder(BuilderTool.REBAR);
final List<IPath> src = Lists.newArrayList(info.getSourceDirs());
src.add(new Path("foz"));
info.setSourceDirs(src);
creator = new ProjectCreator(name, location, new IProject[] {}, info, context,
null);
prj = creator.createProject();
assertThat(prj, is(not(nullValue())));