	@Test
	public void testInstallGitSkipsIfAlreadyInstalled() throws IOException {

		when(connection.tryExecute("which", "git")).thenReturn(
				new ExecutionResult(0, "", ""));
		remoteGitHelper.installGit(connection, SystemSpecification.UBUNTU_1404);
		verify(connection, never()).execute("sudo", "apt-get", "-y", "install", "git");
	}