FileProvider fileProvider = mock(FileProvider.class);
ReSharperExecutor executor = mock(ReSharperExecutor.class);
File workingDir = new File("target/ReSharperSensorTest/working-dir");
fileSystem.setWorkDir(workingDir);
File fileNotInSonarQube = mock(File.class);
<BUG>when(fileNotInSonarQube.getAbsolutePath()).thenReturn("fileNotInSonarQube");
fileSystem.add(new DefaultInputFile("fileNotInSonarQube").setAbsolutePath("fileNotInSonarQube").setLanguage(languageKey));</BUG>
File fooFileWithIssuable = mock(File.class);
<BUG>when(fooFileWithIssuable.getAbsolutePath()).thenReturn("fooFileWithIssuable");
DefaultInputFile inputFileWithIssues = new DefaultInputFile("fooFileWithIssuable").setAbsolutePath("fooFileWithIssuable").setLanguage(languageKey);</BUG>
fileSystem.add(inputFileWithIssues);

FileProvider fileProvider = mock(FileProvider.class);
ReSharperExecutor executor = mock(ReSharperExecutor.class);
File workingDir = new File("target/ReSharperSensorTest/working-dir");
fileSystem.setWorkDir(workingDir);
File fileNotInSonarQube = mock(File.class);
when(fileNotInSonarQube.getPath()).thenReturn("fileNotInSonarQube");
fileSystem.add(new DefaultInputFile("fileNotInSonarQube").setAbsolutePath("fileNotInSonarQube").setLanguage(languageKey));
File fooFileWithIssuable = mock(File.class);
when(fooFileWithIssuable.getPath()).thenReturn("fooFileWithIssuable");
DefaultInputFile inputFileWithIssues = new DefaultInputFile("fooFileWithIssuable").setAbsolutePath("fooFileWithIssuable").setLanguage(languageKey);
fileSystem.add(inputFileWithIssues);
