remoteRepository.getUri()), true, null, localRepoPath, branch,
"origin", 30);
cloneOperation
.setCredentialsProvider(new UsernamePasswordCredentialsProvider(
"agitter", "letmein"));
cloneOperation.run(null);
file = new File(localRepoPath, SampleTestRepository.A_txt_name);
assertTrue(file.exists());
localRepository = Activator.getDefault().getRepositoryCache()
.lookupRepository(new File(localRepoPath, ".git"));
assertNotNull(localRepository);