assertThat(properties.getProperty("SONAR_HOME")).isNull();
}
@Test
public void test_java_command() throws IOException {
JarExtractor jarExtractor = mock(JarExtractor.class);
final File jar = temp.newFile();
when(jarExtractor.extractToTemp("sonar-runner-impl")).thenReturn(jar);
CommandExecutor commandExecutor = mock(CommandExecutor.class);
ForkedRunner runner = new ForkedRunner(jarExtractor, commandExecutor);
runner.setJavaExecutable("java");