}
private static Project mockProjectWithSomeFiles(String languageKey) {
Project project = TestUtils.mockProject();
List<InputFile> listofFiles = new LinkedList<InputFile>();
InputFile inputFile = mock(InputFile.class);
listofFiles.add(0, inputFile);
when(project.getLanguageKey()).thenReturn(languageKey);
when(project.getFileSystem().mainFiles(languageKey)).thenReturn(listofFiles);
return project;
}